]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/stored.h
See kes02Dec02
[bacula/bacula] / bacula / src / stored / stored.h
index baa0b40f6e3a9884549235a30ed1c14a869dc5e6..28a1dcf8595eb68903dcb6b23e319cd53158c62e 100644 (file)
@@ -1,5 +1,7 @@
 /*
  * Storage daemon specific defines and includes
+ *
+ *  Version $Id$
  */
 /*
    Copyright (C) 2000, 2001, 2002 Kern Sibbald and John Walker
 #include "record.h"
 #include "dev.h"
 #include "stored_conf.h"
+#include "bsr.h"
 #include "jcr.h"
 #include "protos.h"
-
-/* **** FIXME make this dynamic ****/
-#define MAX_DEVICES 20
-
-/* 
- * Old shared memory buffer. Shared memory no longer used,
- *  so this just acts as a global.
- */
-struct s_shm {
-   long VolSessionId;
-   long VolSessionTime;
-   DEVICE dev[MAX_DEVICES];
-};
+#ifdef HAVE_LIBZ
+#include <zlib.h>                     /* compression headers */
+#else
+#define uLongf uint32_t
+#endif
 
 extern char errmsg[];                /* general error message */