X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fstored%2Fstored.h;h=30353fe29e80a73188ddd1c65153971b85722f00;hb=0d99c317e0ac4a98ccbe01ac960e4d0c35184eb9;hp=7ae3dffe94bb217736d034cd6bc72a4d2963a2a3;hpb=65f843b332c5fd751863c6dbbc2028ca46bdf2d6;p=bacula%2Fbacula diff --git a/bacula/src/stored/stored.h b/bacula/src/stored/stored.h index 7ae3dffe94..30353fe29e 100644 --- a/bacula/src/stored/stored.h +++ b/bacula/src/stored/stored.h @@ -1,21 +1,34 @@ /* - * Storage daemon specific defines and includes - * - * Version $Id$ - */ -/* - Copyright (C) 2000-2005 Kern Sibbald + Bacula® - The Network Backup Solution + + 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 and included + in the file LICENSE. - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - version 2 as amended with additional clauses defined in the - file LICENSE in the main source directory. + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - the file LICENSE for additional details. + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + 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. +*/ +/* + * Storage daemon specific defines and includes + * + * Version $Id$ */ #ifndef __STORED_H_ @@ -23,17 +36,22 @@ #define STORAGE_DAEMON 1 +/* Set to debug mutexes */ +//#define SD_DEBUG_LOCK +const int sd_dbglvl = 300; + #ifdef HAVE_MTIO_H #include #else # ifdef HAVE_SYS_MTIO_H # include # else -# ifdef HAVE_SYS_TAPE +# ifdef HAVE_SYS_TAPE_H # include # endif # endif #endif +#include "lock.h" #include "block.h" #include "record.h" #include "dev.h" @@ -60,6 +78,9 @@ 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 */