X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fjcr.h;h=89e2095cdbc2308cdf4e1c4413eee8f1bfe1c685;hb=1c53d648f144d370c9d76aa7b875f290679303e1;hp=c07e305e8a6d30f42f0dc962fc23773aab205416;hpb=918fcdcc0d93e7fa03affa41eb704a6911a60f8f;p=bacula%2Fbacula diff --git a/bacula/src/jcr.h b/bacula/src/jcr.h index c07e305e8a..89e2095cdb 100644 --- a/bacula/src/jcr.h +++ b/bacula/src/jcr.h @@ -1,24 +1,14 @@ -/* - * Bacula JCR Structure definition for Daemons and the Library - * This definition consists of a "Global" definition common - * to all daemons and used by the library routines, and a - * daemon specific part that is enabled with #defines. - * - * Kern Sibbald, Nov MM - * - * Version $Id$ - */ /* Bacula® - The Network Backup Solution - Copyright (C) 2000-2006 Free Software Foundation Europe e.V. + Copyright (C) 2000-2007 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. This program is Free Software; you can redistribute it and/or modify it under the terms of version two of the GNU General Public - License as published by the Free Software Foundation plus additions - that are listed in the file LICENSE. + License as published by the Free Software Foundation and included + in the file LICENSE. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -35,6 +25,16 @@ (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich, Switzerland, email:ftf@fsfeurope.org. */ +/* + * Bacula JCR Structure definition for Daemons and the Library + * This definition consists of a "Global" definition common + * to all daemons and used by the library routines, and a + * daemon specific part that is enabled with #defines. + * + * Kern Sibbald, Nov MM + * + * Version $Id$ + */ #ifndef __JCR_H_ @@ -173,7 +173,7 @@ public: MSGS *jcr_msgs; /* Copy of message resource -- actually used */ uint32_t ClientId; /* Client associated with Job */ char *where; /* prefix to restore files to */ - bool where_use_regexp; /* True if where is a bregexp */ + char *RegexWhere; /* file relocation in restore */ alist *where_bregexp; /* BREGEXP alist for path manipulation */ int cached_pnl; /* cached path length */ POOLMEM *cached_path; /* cached path */ @@ -283,8 +283,8 @@ public: uint32_t StartBlock; uint32_t EndBlock; pthread_t heartbeat_id; /* id of heartbeat thread */ - volatile BSOCK *hb_bsock; /* duped SD socket */ - volatile BSOCK *hb_dir_bsock; /* duped DIR socket */ + BSOCK *hb_bsock; /* duped SD socket */ + BSOCK *hb_dir_bsock; /* duped DIR socket */ alist *RunScripts; /* Commands to run before and after job */ bool pki_sign; /* Enable PKI Signatures? */ bool pki_encrypt; /* Enable PKI Encryption? */