]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/filed/fd_plugins.h
Add additional ACL flags for restore.
[bacula/bacula] / bacula / src / filed / fd_plugins.h
index f851ca4e1b5b171c1d6214e1504ad94635b57587..f5c80678dd62dbbf060bbd54ae65490ea0e2922a 100644 (file)
@@ -180,7 +180,10 @@ typedef enum {
   bVarWorkingDir = 13,
   bVarWhere      = 14,
   bVarRegexWhere = 15,
-  bVarExePath    = 16
+  bVarExePath    = 16,
+  bVarVersion    = 17,
+  bVarDistName   = 18,
+  bVarBEEF       = 19
 } bVariable;
 
 /* Events that are passed to plugin */
@@ -198,13 +201,20 @@ typedef enum {
   bEventLevel                           = 11,
   bEventSince                           = 12,
   bEventCancelCommand                   = 13, /* Executed by another thread */
-  bEventVssBackupAddComponents          = 14,
+  bEventVssBackupAddComponents          = 14, /* Just before bEventVssPrepareSnapshot */
   bEventVssRestoreLoadComponentMetadata = 15,
   bEventVssRestoreSetComponentsSelected = 16,
   bEventRestoreObject                   = 17,
   bEventEndFileSet                      = 18,
   bEventPluginCommand                   = 19, /* Sent during FileSet creation */
-  bEventVssBeforeCloseRestore           = 20
+  bEventVssBeforeCloseRestore           = 20,
+
+  /* Add drives to VSS snapshot 
+   *  argument: char[27] drivelist
+   * You need to add them without duplicates, 
+   * see fd_common.h add_drive() copy_drives() to get help
+   */
+  bEventVssPrepareSnapshot              = 21
 } bEventType;
 
 typedef struct s_bEvent {