src/win32/filed/plugins/alldrives-fd.c
static bRC handlePluginEvent(bpContext *ctx, bEvent *event, void *value)
{
   barg arguments;

   switch (event->eventType) {
   case bEventPluginCommand:
      add_drives(ctx, (char *)value); /* command line */
      break;

   case bEventVssPrepareSnapshot:
      add_snapshot(ctx, (char *)value); /* snapshot list */
      break;
   default:
      break;
   }
   
   return bRC_OK;
}
/*
 * Called by Bacula when there are certain events that the
 *   plugin might want to know.  The value depends on the
 *   event.
 */
Called by Bacula when there are certain events that the
plugin might want to know.  The value depends on the
event.
Called by Bacula when there are certain events that the plugin might want to know . The value depends on the event .
static bRC handlePluginEvent(bpContext *ctx, bEvent *event, void *value)
{
   barg arguments;
   switch (event->eventType) {
   case bEventPluginCommand:
      add_drives(ctx, (char *)value); 
      break;
   case bEventVssPrepareSnapshot:
      add_snapshot(ctx, (char *)value); 
      break;
   default:
      break;
   }
   return bRC_OK;
}
static bRC handlePluginEvent ( bpContext * ctx , bEvent * event , void * value ) { barg arguments ; switch ( event -> eventType ) { case bEventPluginCommand : add_drives ( ctx , ( char * ) value ) ; break ; case bEventVssPrepareSnapshot : add_snapshot ( ctx , ( char * ) value ) ; break ; default : break ; } return bRC_OK ; }
Called by Bacula when there are certain events that the
   plugin might want to know.
Called by Bacula when there are certain events that the plugin might want to know .
/* command line */ /* snapshot list */