]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/stored.h
- Tweak install chapter of French manual to add new paragraph
[bacula/bacula] / bacula / src / stored / stored.h
index 2a0ac6aa4948860f3b1b8d9fb5ba5476c2d67dea..2933237cc0e21b73f1a47052dd47f86883002032 100644 (file)
@@ -4,7 +4,7 @@
  *  Version $Id$
  */
 /*
-   Copyright (C) 2000, 2001, 2002 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
 
 #define STORAGE_DAEMON 1
 
-#include <sys/mtio.h>
+#ifdef HAVE_MTIO_H
+#include <mtio.h>
+#else
+# ifdef HAVE_SYS_MTIO_H
+# include <sys/mtio.h>
+# else
+#   ifdef HAVE_SYS_TAPE
+#   include <sys/tape.h>
+#   endif
+# endif
+#endif
 #include "block.h"
 #include "record.h"
 #include "dev.h"
 #else
 #define uLongf uint32_t
 #endif
+#ifdef HAVE_FNMATCH
+#include <fnmatch.h>
+#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_ */