]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/dev.h
Add additional search directories for PostgreSQL
[bacula/bacula] / bacula / src / stored / dev.h
index 78d9d7b5148c8f774c2096669c67dbeebe8bdf19..69ad8e948273fc4090b928acfa039da93ca1fdd2 100644 (file)
@@ -6,7 +6,7 @@
  *
  */
 /*
-   Copyright (C) 2000-2003 Kern Sibbald and John Walker
+   Copyright (C) 2000-2004 Kern Sibbald and John Walker
 
    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
@@ -84,6 +84,7 @@
 #define CAP_BSFATEOM       (1<<15)    /* Backspace file at EOM */
 #define CAP_FASTFSF        (1<<16)    /* Fast forward space file */
 #define CAP_TWOEOF         (1<<17)    /* Write two eofs for EOM */
+#define CAP_CLOSEONPOLL    (1<<18)    /* Close device on polling */
 
 /* Test state */
 #define dev_state(dev, st_state) ((dev)->state & (st_state))
@@ -184,7 +185,7 @@ public:
    uint32_t max_open_vols;            /* max simultaneous open volumes */
    utime_t  vol_poll_interval;        /* interval between polling Vol mount */
    DEVRES *device;                    /* pointer to Device Resource */
-   btimer_id tid;                     /* timer id */
+   btimer_t *tid;                     /* timer id */
 
    VOLUME_CAT_INFO VolCatInfo;        /* Volume Catalog Information */
    VOLUME_LABEL VolHdr;               /* Actual volume label */