]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/stored.h
update version
[bacula/bacula] / bacula / src / stored / stored.h
index a530d9a2a53e7283141ae6a053c40cc1424d1cbe..7d83ce092a29386615c3f117dcbcbd6633030a25 100644 (file)
@@ -1,14 +1,14 @@
 /*
    Bacula® - The Network Backup Solution
 
-   Copyright (C) 2000-2006 Free Software Foundation Europe e.V.
+   Copyright (C) 2000-2009 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
@@ -20,7 +20,7 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   Bacula® is a registered trademark of John Walker.
+   Bacula® is a registered trademark of Kern Sibbald.
    The licensor of Bacula is the Free Software Foundation Europe
    (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
    Switzerland, email:ftf@fsfeurope.org.
 #define STORAGE_DAEMON 1
 
 /* Set to debug mutexes */
-#define SD_DEBUG_LOCK
-const int sd_dbglvl = 100;
+//#define SD_DEBUG_LOCK
+#ifdef SD_DEBUG_LOCK
+const int sd_dbglvl = 3;
+#else
+const int sd_dbglvl = 300;
+#endif
 
 #ifdef HAVE_MTIO_H
 #include <mtio.h>
@@ -48,9 +52,13 @@ const int sd_dbglvl = 100;
 # else
 #   ifdef HAVE_SYS_TAPE_H
 #   include <sys/tape.h>
+#   else
+    /* Needed for Mac 10.6 (Snow Leopard) */
+#   include "lib/bmtio.h"
 #   endif
 # endif
 #endif
+#include "lock.h"
 #include "block.h"
 #include "record.h"
 #include "dev.h"
@@ -77,6 +85,8 @@ const int sd_dbglvl = 100;
 int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result);
 #endif
 
+#include "vtape.h"
+
 /* Daemon globals from stored.c */
 extern STORES *me;                    /* "Global" daemon resource */
 extern bool forge_on;                 /* proceed inspite of I/O errors */