]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/filed/filed.h
Merge branch 'master' into basejobv3
[bacula/bacula] / bacula / src / filed / filed.h
index 19591c8a410296ed5a5336d99b277209b07438a6..b82aef08600ac2b9ab23d29fab8ddde554b34c56 100644 (file)
  *   Version $Id$
  */
 
+/*
+ * Number of acl errors to report per job.
+ */
+#define ACL_REPORT_ERR_MAX_PER_JOB     25
+
+/*
+ * Number of xattr errors to report per job.
+ */
+#define XATTR_REPORT_ERR_MAX_PER_JOB   25
+
+/*
+ * Return codes from acl subroutines.
+ */
+typedef enum {
+   bacl_exit_fatal = -1,
+   bacl_exit_error = 0,
+   bacl_exit_ok = 1
+} bacl_exit_code;
+
+/*
+ * Return codes from xattr subroutines.
+ */
+typedef enum {
+   bxattr_exit_fatal = -1,
+   bxattr_exit_error = 0,
+   bxattr_exit_ok = 1
+} bxattr_exit_code;
 
 #define FILE_DAEMON 1
 #include "lib/htable.h"
@@ -50,8 +77,3 @@
 #endif
 
 extern CLIENT *me;                    /* "Global" Client resource */
-
-/*
- * Number of acl errors to report per job.
- */
-#define ACL_REPORT_ERR_MAX_PER_JOB     25