2 Bacula(R) - The Network Backup Solution
4 Copyright (C) 2000-2017 Kern Sibbald
6 The original author of Bacula is Kern Sibbald, with contributions
7 from many 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 This notice must be preserved when any source code is
15 conveyed and/or propagated.
17 Bacula(R) is a registered trademark of Kern Sibbald.
20 * Bacula File Daemon specific configuration and defines
22 * Kern Sibbald, Jan MMI
27 #define ERROR_BUFFER_OVERFLOW 1
28 #define ERROR_SUCCESS 0
31 /* acl errors to report per job. */
32 #define ACL_MAX_ERROR_PRINT_PER_JOB 25
34 /* xattr errors to report per job. */
35 #define XATTR_MAX_ERROR_PRINT_PER_JOB 25
38 #include "lib/htable.h"
39 #include "filed_conf.h"
40 #include "fd_plugins.h"
41 #include "fd_snapshot.h"
42 #include "findlib/find.h"
46 #include "protos.h" /* file daemon prototypes */
47 #include "lib/runscript.h"
50 #include <zlib.h> /* compression headers */
52 #define uLongf uint32_t
55 #include <lzo/lzoconf.h>
56 #include <lzo/lzo1x.h>
59 extern CLIENT *me; /* "Global" Client resource */
60 extern bool win32decomp; /* Use decomposition of BackupRead data */
61 extern bool no_win32_write_errors; /* Ignore certain errors */
63 void terminate_filed(int sig);
68 int access; /* specify if monitors/restricted have access to this function */
71 void allow_os_suspensions();
72 void prevent_os_suspensions();