]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/runscript.h
Add the updated version of the the win32 pathname fix.
[bacula/bacula] / bacula / src / lib / runscript.h
index f50feb9699f411d944daa21f528b888aed3bed23..f6b2ed99a3d520ef894d9d77dde2c0d6bd3fa73c 100644 (file)
  */
 
 /* 
- * RUNSCRIPT->when can take following value : 
+ * RUNSCRIPT->when can take following bit values:
  */
 enum {
-   SCRIPT_Never  = 1,
-   SCRIPT_After  = 2,           /* AfterJob */
-   SCRIPT_Before = 3,           /* BeforeJob */
-   SCRIPT_Any    = 4            /* Before and After */
+   SCRIPT_Never  = 0,
+   SCRIPT_After  = (1<<0),      /* AfterJob */
+   SCRIPT_Before = (1<<1),      /* BeforeJob */
+   SCRIPT_Any    = SCRIPT_Before | SCRIPT_After
 };
 
 /*