]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/filed/filed.h
baculum: Update AUTHORS file
[bacula/bacula] / bacula / src / filed / filed.h
index 99c3045e7c15a413be2a3093d80e1dc62be779e6..735021e16e819d5847e08fc3fb2eddd553a0916f 100644 (file)
@@ -1,41 +1,72 @@
+/*
+   Bacula(R) - The Network Backup Solution
+
+   Copyright (C) 2000-2016 Kern Sibbald
+
+   The original author of Bacula is Kern Sibbald, with contributions
+   from many others, a complete list can be found in the file AUTHORS.
+
+   You may use this file and others of this release according to the
+   license defined in the LICENSE file, which includes the Affero General
+   Public License, v3.0 ("AGPLv3") and some additional permissions and
+   terms pursuant to its AGPLv3 Section 7.
+
+   This notice must be preserved when any source code is
+   conveyed and/or propagated.
+
+   Bacula(R) is a registered trademark of Kern Sibbald.
+*/
 /*
  * Bacula File Daemon specific configuration and defines
  *
- *     Kern Sibbald, Jan MMI 
+ *     Kern Sibbald, Jan MMI
  *
- *   Version $Id$
  */
-/*
-   Copyright (C) 2000-2004 Kern Sibbald and John Walker
 
-   This program is free software; you can redistribute it and/or
-   modify it under the terms of the GNU General Public License as
-   published by the Free Software Foundation; either version 2 of
-   the License, or (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-   General Public License for more details.
+//#define TEST_WORKER
+#ifdef TEST_WORKER
+#define ERROR_BUFFER_OVERFLOW 1
+#define ERROR_SUCCESS 0
+#endif
 
-   You should have received a copy of the GNU General Public
-   License along with this program; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
-   MA 02111-1307, USA.
+/* acl errors to report per job. */
+#define ACL_MAX_ERROR_PRINT_PER_JOB   25
 
- */
+/* xattr errors to report per job. */
+#define XATTR_MAX_ERROR_PRINT_PER_JOB 25
 
 #define FILE_DAEMON 1
-#include "findlib/find.h"
-#include "jcr.h"
-#include "protos.h"                   /* file daemon prototypes */
-#include "filed_conf.h"
+#include  "lib/htable.h"
+#include  "filed_conf.h"
+#include  "fd_plugins.h"
+#include  "fd_snapshot.h"
+#include  "findlib/find.h"
+#include  "xacl.h"
+#include  "jcr.h"
+#include  "protos.h"                  /* file daemon prototypes */
+#include  "lib/runscript.h"
+#include  "lib/breg.h"
 #ifdef HAVE_LIBZ
-#include <zlib.h>                     /* compression headers */
+#include <zlib.h>                    /* compression headers */
 #else
 #define uLongf uint32_t
 #endif
+#ifdef HAVE_LZO
+#include <lzo/lzoconf.h>
+#include <lzo/lzo1x.h>
+#endif
+
+extern CLIENT *me;                   /* "Global" Client resource */
+extern bool win32decomp;             /* Use decomposition of BackupRead data */
+extern bool no_win32_write_errors;    /* Ignore certain errors */
+
+void terminate_filed(int sig);
 
-extern const int win32_client;              /* Are we running on Windows? */
+struct s_cmds {
+   const char *cmd;
+   int (*func)(JCR *);
+   int monitoraccess; /* specify if monitors have access to this function */
+};
 
-extern CLIENT *me;                    /* "Global" Client resource */
+void allow_os_suspensions();
+void prevent_os_suspensions();