X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Ffiletypes.h;h=ea79966221c9764ae8d332c308526a3ad8caede5;hb=f1b44f29aefa6fb427d8251162999c18d891d7d5;hp=d7bf3b7a332f75c972bb660668ceaefd0c7795b1;hpb=7ec576f631ee517153901120fc287d856e42fe7d;p=bacula%2Fbacula diff --git a/bacula/src/filetypes.h b/bacula/src/filetypes.h index d7bf3b7a33..ea79966221 100644 --- a/bacula/src/filetypes.h +++ b/bacula/src/filetypes.h @@ -76,8 +76,13 @@ #define FT_BASE 24 /* Duplicate base file entry */ #define FT_RESTORE_FIRST 25 /* Restore this "object" first */ #define FT_JUNCTION 26 /* Win32 Junction point */ +#define FT_PLUGIN_CONFIG 27 /* Object for Plugin configuration */ +#define FT_PLUGIN_CONFIG_FILLED 28 /* Object for Plugin configuration filled by Director */ /* Definitions for upper part of type word (see above). */ #define AR_DATA_STREAM (1<<16) /* Data stream id present */ +/* Quick way to know if a Filetype is about a plugin "Object" */ +#define IS_FT_OBJECT(x) (((x) == FT_RESTORE_FIRST) || ((x) == FT_PLUGIN_CONFIG_FILLED) || ((x) == FT_PLUGIN_CONFIG)) + #endif /* __BFILETYPES_H */