]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/filetypes.h
Tweak version date
[bacula/bacula] / bacula / src / filetypes.h
index d7bf3b7a332f75c972bb660668ceaefd0c7795b1..ea79966221c9764ae8d332c308526a3ad8caede5 100644 (file)
 #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 */