]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/stored.h
Refactor parts of stored/mount.c
[bacula/bacula] / bacula / src / stored / stored.h
index 0c458244cf21a0cc79a4b1f1366bf9ec191b0bcb..c6d83b4d34c93aa5aeb0f3a5f9a49934f1fb8629 100644 (file)
@@ -1,19 +1,14 @@
-/*
- * Storage daemon specific defines and includes
- *
- *  Version $Id$
- */
 /*
    Bacula® - The Network Backup Solution
 
-   Copyright (C) 2000-2006 Free Software Foundation Europe e.V.
+   Copyright (C) 2000-2008 Free Software Foundation Europe e.V.
 
    The main author of Bacula is Kern Sibbald, with contributions from
    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"