]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/findlib/find.h
update version
[bacula/bacula] / bacula / src / findlib / find.h
index 86710941fd43a00569538748d8c285c3278bf093..cda9e9b016ab58be990e8ede36e69047b637aa62 100644 (file)
@@ -77,6 +77,7 @@ int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result);
 struct s_included_file {
    struct s_included_file *next;
    uint32_t options;                  /* backup options */
+   uint32_t algo;                     /* compression algorithm. 4 letters stored as an interger */
    int level;                         /* compression level */
    int len;                           /* length of fname */
    int pattern;                       /* set if wild card pattern */
@@ -108,7 +109,8 @@ enum {
 /* File options structure */
 struct findFOPTS {
    uint32_t flags;                    /* options in bits */
-   int GZIP_level;                    /* GZIP level */
+   uint32_t Compress_algo;            /* compression algorithm. 4 letters stored as an interger */
+   int Compress_level;                /* compression level */
    int strip_path;                    /* strip path count */
    char VerifyOpts[MAX_FOPTS];        /* verify options */
    char AccurateOpts[MAX_FOPTS];      /* accurate mode options */
@@ -165,7 +167,10 @@ struct FF_PKT {
    POOLMEM *sys_fname;                /* system filename */
    POOLMEM *fname_save;               /* save when stripping path */
    POOLMEM *link_save;                /* save when stripping path */
+   char *digest;                      /* set to file digest when the file is a hardlink */
    struct stat statp;                 /* stat packet */
+   uint32_t digest_len;               /* set to the digest len when the file is a hardlink*/
+   int32_t digest_stream;             /* set to digest type when the file is hardlink */
    int32_t FileIndex;                 /* FileIndex of this file */
    int32_t LinkFI;                    /* FileIndex of main hard linked file */
    int32_t delta_seq;                 /* Delta Sequence number */
@@ -193,7 +198,8 @@ struct FF_PKT {
 
    /* Values set by accept_file while processing Options */
    uint32_t flags;                    /* backup options */
-   int GZIP_level;                    /* compression level */
+   uint32_t Compress_algo;            /* compression algorithm. 4 letters stored as an interger */
+   int Compress_level;                /* compression level */
    int strip_path;                    /* strip path count */
    bool cmd_plugin;                   /* set if we have a command plugin */
    alist fstypes;                     /* allowed file system types */