]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/attr.h
Fix header file includes.
[bacula/bacula] / bacula / src / lib / attr.h
index 7b19eddddc08ec468eb8dc2bb04077f88f393338..b393b492365520bfe739e79a75d65e25da25c95d 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *   attr.h Definition of attributes packet for unpacking from tape
- * 
+ *
  *    Kern Sibbald, June MMIII
  *
  *   Version $Id$
@@ -31,11 +31,17 @@ struct ATTR {
    int32_t data_stream;               /* id of data stream to follow */
    int32_t type;                      /* file type FT */
    int32_t file_index;                /* file index */
+   int32_t LinkFI;                    /* file index to data if hard link */
    struct stat statp;                 /* decoded stat packet */
+   POOLMEM *attrEx;                   /* extended attributes if any */
+   POOLMEM *ofname;                   /* output filename */
+   POOLMEM *olname;                   /* output link name */
+   /*
+    * Note the following three variables point into the
+    *  current BSOCK record, so they are invalid after
+    *  the next socket read!
+    */
    char *attr;                        /* attributes position */
-   char *attrEx;                      /* extended attributes if any */
    char *fname;                       /* filename */
    char *lname;                       /* link name if any */
-   POOLMEM *ofname;                   /* output filename */
-   POOLMEM *olname;                   /* output link name */
 };