X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Ffiled%2Ffd_plugins.h;h=f5c80678dd62dbbf060bbd54ae65490ea0e2922a;hb=00662d0a94aa70545dc6497a4ddc1a6f9a70083d;hp=65d9ce430b89c388fc1aade5a5cb4920376dbae2;hpb=391c695c2f9070805e88f35f2c03e88df3a3ecdb;p=bacula%2Fbacula diff --git a/bacula/src/filed/fd_plugins.h b/bacula/src/filed/fd_plugins.h index 65d9ce430b..f5c80678dd 100644 --- a/bacula/src/filed/fd_plugins.h +++ b/bacula/src/filed/fd_plugins.h @@ -101,6 +101,7 @@ struct save_pkt { uint32_t flags; /* Bacula internal flags */ bool portable; /* set if data format is portable */ char *cmd; /* command */ + uint32_t delta_seq; /* Delta sequence number */ char *object_name; /* Object name to create */ char *object; /* restore object data to save */ int32_t object_len; /* restore object length */ @@ -127,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 */ }; @@ -178,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 */ @@ -196,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 {