]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/filed/fd_plugins.h
update configure
[bacula/bacula] / bacula / src / filed / fd_plugins.h
index 2564244319cb10fd6f6245cc2289308344ecbf75..f5c80678dd62dbbf060bbd54ae65490ea0e2922a 100644 (file)
@@ -128,6 +128,7 @@ struct restore_pkt {
    const char *RegexWhere;            /* regex where */
    int replace;                       /* replace flag */
    int create_status;                 /* status from createFile() */
+   uint32_t delta_seq;                /* Delta sequence number */
    int32_t pkt_end;                   /* end packet sentinel */
 };
 
@@ -179,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 */
@@ -197,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 {