]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/stored.h
kes When applying a storage override, release all previous storage
[bacula/bacula] / bacula / src / stored / stored.h
index 0c458244cf21a0cc79a4b1f1366bf9ec191b0bcb..d29f34cd5e11226e76b3ce65395c188c92a58d76 100644 (file)
@@ -1,8 +1,3 @@
-/*
- * Storage daemon specific defines and includes
- *
- *  Version $Id$
- */
 /*
    Bacula® - The Network Backup Solution
 
@@ -12,8 +7,8 @@
    many others, a complete list can be found in the file AUTHORS.
    This program is Free Software; you can redistribute it and/or
    modify it under the terms of version two of the GNU General Public
-   License as published by the Free Software Foundation plus additions
-   that are listed in the file LICENSE.
+   License as published by the Free Software Foundation and included
+   in the file LICENSE.
 
    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of
    (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
    Switzerland, email:ftf@fsfeurope.org.
 */
+/*
+ * Storage daemon specific defines and includes
+ *
+ *  Version $Id$
+ */
 
 #ifndef __STORED_H_
 #define __STORED_H_
 
 #define STORAGE_DAEMON 1
 
+/* Set to debug mutexes */
+//#define SD_DEBUG_LOCK
+const int sd_dbglvl = 300;
+
 #ifdef HAVE_MTIO_H
 #include <mtio.h>
 #else
@@ -47,6 +51,7 @@
 #   endif
 # endif
 #endif
+#include "lock.h"
 #include "block.h"
 #include "record.h"
 #include "dev.h"