]> git.sur5r.net Git - bacula/docs/commitdiff
Document plugin
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 6 May 2010 11:37:49 +0000 (13:37 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 6 May 2010 11:39:02 +0000 (13:39 +0200)
docs/manuals/en/developers/pluginAPI.tex

index 8996ceccd3a3d69f377114fdb3d14513d7666d7d..4856a5dd4332c797154b4d07e24e9968da0f0ec4 100644 (file)
@@ -367,18 +367,25 @@ typedef struct s_bEvent {
 
 \begin{verbatim}
 typedef enum {
-  bEventJobStart        = 1,
-  bEventJobEnd          = 2,
-  bEventStartBackupJob  = 3,
-  bEventEndBackupJob    = 4,
-  bEventStartRestoreJob = 5,
-  bEventEndRestoreJob   = 6,
-  bEventStartVerifyJob  = 7,
-  bEventEndVerifyJob    = 8,
-  bEventBackupCommand   = 9,
-  bEventRestoreCommand  = 10,
-  bEventLevel           = 11,
-  bEventSince           = 12,
+  bEventJobStart                        = 1,
+  bEventJobEnd                          = 2,
+  bEventStartBackupJob                  = 3,
+  bEventEndBackupJob                    = 4,
+  bEventStartRestoreJob                 = 5,
+  bEventEndRestoreJob                   = 6,
+  bEventStartVerifyJob                  = 7,
+  bEventEndVerifyJob                    = 8,
+  bEventBackupCommand                   = 9,
+  bEventRestoreCommand                  = 10,
+  bEventLevel                           = 11,
+  bEventSince                           = 12,
+  bEventCancelCommand                   = 13,
+  bEventVssBackupAddComponents          = 14,
+  bEventVssRestoreLoadComponentMetadata = 15,
+  bEventVssRestoreSetComponentsSelected = 16,
+  bEventRestoreObject                   = 17,
+  bEventEndFileSet                      = 18,
+  bEventPluginCommand                   = 19
 } bEventType;
 
 \end{verbatim}
@@ -436,6 +443,16 @@ Most of the above are self-explanatory.
 
  \item [bEventSince] is called when the since time is set for a new Job. The 
    value is a time\_t time at which the last job was run.
+
+\item [bEventCancelCommand] is called whenever the currently
+  running Job is cancelled
+
+\item [bEventVssBackupAddComponents] 
+
+\item [bEventPluginCommand] is called for each PluginCommand present in the
+  current FileSet. The event will be sent only on plugin specifed in the
+  command. The argument is the PluginCommand (not valid after the call). 
+
 \end{description}
 
 During each of the above calls, the plugin receives either no specific value or