]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/filed/xattr.h
Merge branch 'master' into basejobv3
[bacula/bacula] / bacula / src / filed / xattr.h
index 16056165e72aaf11725b3742c62a301eaf36d651..329c32dec0a1995fba9e2ccf27bdb905d3c53bb5 100644 (file)
@@ -26,8 +26,8 @@
    Switzerland, email:ftf@fsfeurope.org.
 */
 
-#ifndef _BACULA_XATTR_
-#define _BACULA_XATTR_
+#ifndef __XATTR_H
+#define __XATTR_H
 
 /*
  * Magic used in the magic field of the xattr struct.
@@ -54,6 +54,17 @@ struct xattr_link_cache_entry_t {
    char target[PATH_MAX];
 };
 
+/*
+ * Internal tracking data.
+ */
+struct xattr_data_t {
+   POOLMEM *content;
+   uint32_t content_length;
+   uint32_t nr_errors;
+   uint32_t nr_saved;
+   alist *link_cache;
+};
+
 /*
  * Maximum size of the XATTR stream this prevents us from blowing up the filed.
  */