#ifndef __STORED_H_
#define __STORED_H_
+#define STORAGE_DAEMON 1
+
#include <sys/mtio.h>
#include "block.h"
#include "record.h"
#include "dev.h"
#include "stored_conf.h"
+#include "bsr.h"
#include "jcr.h"
#include "protos.h"
+#ifdef HAVE_LIBZ
+#include <zlib.h> /* compression headers */
+#else
+#define uLongf uint32_t
+#endif
-/* **** 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];
-};
+#include "findlib/find.h"
-extern char errmsg[]; /* general error message */
+extern char errmsg[]; /* general error message */
#endif /* __STORED_H_ */