]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/stored.h
Add address and socket for MySQL
[bacula/bacula] / bacula / src / stored / stored.h
index 022f3ee62fe2e7330239aaf7db260a66501c9579..7c7884058f7d2701be44875d2319aff8fc484b46 100644 (file)
@@ -4,7 +4,7 @@
  *  Version $Id$
  */
 /*
-   Copyright (C) 2000, 2001, 2002 Kern Sibbald and John Walker
+   Copyright (C) 2000-2003 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
@@ -26,6 +26,8 @@
 #ifndef __STORED_H_
 #define __STORED_H_
 
+#define STORAGE_DAEMON 1
+
 #include <sys/mtio.h>
 #include "block.h"
 #include "record.h"
 #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 */