X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fbaconfig.h;h=ff9ca8c4db8956af594ecf14754078ff3aa1286f;hb=33bba0e2733b9fcbc74979e87af0257fe045506a;hp=3bf4b523427cb5b99600ae87357494820b03033f;hpb=3120157831ae6e2bcce8ddb0034fef0a30041039;p=bacula%2Fbacula diff --git a/bacula/src/baconfig.h b/bacula/src/baconfig.h index 3bf4b52342..ff9ca8c4db 100644 --- a/bacula/src/baconfig.h +++ b/bacula/src/baconfig.h @@ -83,6 +83,9 @@ #define WIN32_REPARSE_POINT 1 #define WIN32_MOUNT_POINT 2 +/* Reduce compiler warnings from Windows vss code */ +#define uuid(x) + void InitWinAPIWrapper(); #define OSDependentInit() InitWinAPIWrapper() @@ -239,6 +242,7 @@ void InitWinAPIWrapper(); #define STREAM_ENCRYPTED_MACOS_FORK_DATA 25 /* Encrypted, uncompressed Mac resource fork */ #define STREAM_PLUGIN_NAME 26 /* Plugin "file" string */ #define STREAM_PLUGIN_DATA 27 /* Plugin specific data */ +#define STREAM_RESTORE_OBJECT 28 /* Plugin restore object */ /** * Additional Stream definitions. Once defined these must NEVER @@ -291,6 +295,7 @@ void InitWinAPIWrapper(); #define STREAM_ACL_SOLARIS_ACE 1013 /* Solaris specific ace_t string representation from * from acl_totext (NFSv4 or ZFS acl) */ +#define STREAM_ACL_AFS_TEXT 1014 /* AFS specific string representation from pioctl */ #define STREAM_XATTR_OPENBSD 1993 /* OpenBSD specific extended attributes */ #define STREAM_XATTR_SOLARIS_SYS 1994 /* Solaris specific extensible attributes or * otherwise named extended system attributes. @@ -339,6 +344,7 @@ void InitWinAPIWrapper(); #define FT_PLUGIN 22 /* Plugin generated filename */ #define FT_DELETED 23 /* Deleted file entry */ #define FT_BASE 24 /* Duplicate base file entry */ +#define FT_RESTORE_FIRST 25 /* Restore this "object" first */ /* Definitions for upper part of type word (see above). */ #define AR_DATA_STREAM (1<<16) /* Data stream id present */ @@ -353,7 +359,7 @@ void InitWinAPIWrapper(); /** * Actions on purge (bit mask) */ -#define AOP_TRUNCATE 1 +#define ON_PURGE_TRUNCATE 1 /* Size of File Address stored in STREAM_SPARSE_DATA. Do NOT change! */ #define SPARSE_FADDR_SIZE (sizeof(uint64_t))