X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fstored%2Fstored.h;h=552062104c822750fba0b138a4749b0c7508b06e;hb=b58f32ee0c8cce5b5f7af1416966b8bd2b3ccb6d;hp=0c458244cf21a0cc79a4b1f1366bf9ec191b0bcb;hpb=c37638750b04e222c9436d70c55d28193c58a86f;p=bacula%2Fbacula diff --git a/bacula/src/stored/stored.h b/bacula/src/stored/stored.h index 0c458244cf..552062104c 100644 --- a/bacula/src/stored/stored.h +++ b/bacula/src/stored/stored.h @@ -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 @@ -30,12 +25,21 @@ (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 #else @@ -47,6 +51,7 @@ # endif # endif #endif +#include "lock.h" #include "block.h" #include "record.h" #include "dev.h" @@ -73,6 +78,10 @@ int readdir_r(DIR *dirp, struct dirent *entry, struct dirent **result); #endif +#ifdef USE_FAKETAPE +# include "faketape.h" +#endif + /* Daemon globals from stored.c */ extern STORES *me; /* "Global" daemon resource */ extern bool forge_on; /* proceed inspite of I/O errors */