X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fstored%2Fstored.h;h=2933237cc0e21b73f1a47052dd47f86883002032;hb=dc43fa5c6823b93c4206888e3bf639982af4563b;hp=5cbfc9d859a33b82f6c525b3027c276a30703cdf;hpb=36a3f2c93cc02f33b571bc55c623a25a8fc440e6;p=bacula%2Fbacula diff --git a/bacula/src/stored/stored.h b/bacula/src/stored/stored.h index 5cbfc9d859..2933237cc0 100644 --- a/bacula/src/stored/stored.h +++ b/bacula/src/stored/stored.h @@ -4,7 +4,7 @@ * Version $Id$ */ /* - Copyright (C) 2000-2003 Kern Sibbald and John Walker + Copyright (C) 2000-2004 Kern Sibbald and John Walker This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -30,9 +30,14 @@ #ifdef HAVE_MTIO_H #include -#endif -#ifdef HAVE_SYS_MTIO_H -#include +#else +# ifdef HAVE_SYS_MTIO_H +# include +# else +# ifdef HAVE_SYS_TAPE +# include +# endif +# endif #endif #include "block.h" #include "record.h" @@ -46,9 +51,18 @@ #else #define uLongf uint32_t #endif +#ifdef HAVE_FNMATCH +#include +#else +#include "lib/fnmatch.h" +#endif -#include "findlib/find.h" +extern STORES *me; /* "Global" daemon resource */ +extern bool forge_on; /* proceed inspite of I/O errors */ -extern char errmsg[]; /* general error message */ +#ifdef debug_tracing +extern int _rewind_dev(char *file, int line, DEVICE *dev); +#define rewind_dev(d) _rewind_dev(__FILE__, __LINE__, (d)) +#endif #endif /* __STORED_H_ */