2 Bacula® - The Network Backup Solution
4 Copyright (C) 2001-2014 Free Software Foundation Europe e.V.
6 The main author of Bacula is Kern Sibbald, with contributions from many
7 others, a complete list can be found in the file AUTHORS.
9 You may use this file and others of this release according to the
10 license defined in the LICENSE file, which includes the Affero General
11 Public License, v3.0 ("AGPLv3") and some additional permissions and
12 terms pursuant to its AGPLv3 Section 7.
14 Bacula® is a registered trademark of Kern Sibbald.
17 * Bacula File Daemon specific configuration and defines
19 * Kern Sibbald, Jan MMI
24 * Number of acl errors to report per job.
26 #define ACL_REPORT_ERR_MAX_PER_JOB 25
29 * Number of xattr errors to report per job.
31 #define XATTR_REPORT_ERR_MAX_PER_JOB 25
34 * Return codes from acl subroutines.
43 * Return codes from xattr subroutines.
46 bxattr_exit_fatal = -1,
47 bxattr_exit_error = 0,
52 #include "lib/htable.h"
53 #include "filed_conf.h"
54 #include "fd_plugins.h"
55 #include "findlib/find.h"
59 #include "protos.h" /* file daemon prototypes */
60 #include "lib/runscript.h"
63 #include <zlib.h> /* compression headers */
65 #define uLongf uint32_t
68 #include <lzo/lzoconf.h>
69 #include <lzo/lzo1x.h>
72 extern CLIENT *me; /* "Global" Client resource */
73 extern bool win32decomp; /* Use decomposition of BackupRead data */
74 extern bool no_win32_write_errors; /* Ignore certain errors */
76 void terminate_filed(int sig);
81 int monitoraccess; /* specify if monitors have access to this function */
84 void allow_os_suspensions();
85 void prevent_os_suspensions();