]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/version.h
Implement %f %b to get JobFiles, JobBytes in a RunScript
[bacula/bacula] / bacula / src / version.h
index 7a344ed3f104a24f4d68593622d6e565d490743c..b37c4f3e05e128522f9d2320791dc453a32489ec 100644 (file)
@@ -1,19 +1,16 @@
-/*
- *  Version $Id$
- */
 
 #undef  VERSION
-#define VERSION "3.0.2"
-#define BDATE   "18 June 2009"
-#define LSMDATE "18Jun09"
+#define VERSION "5.1.6"
+#define BDATE   "10 Jun 2010"
+#define LSMDATE "10Jun10"
 
-#define PROG_COPYRIGHT "Copyright (C) %d-2009 Free Software Foundation Europe e.V.\n"
-#define BYEAR "2009"       /* year for copyright messages in progs */
+#define PROG_COPYRIGHT "Copyright (C) %d-2010 Free Software Foundation Europe e.V.\n"
+#define BYEAR "2010"       /* year for copyright messages in progs */
 
 /*
    Bacula® - The Network Backup Solution
 
-   Copyright (C) 2000-2009 Free Software Foundation Europe e.V.
+   Copyright (C) 2000-2010 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.
    Switzerland, email:ftf@fsfeurope.org.
 */
 
+/* Shared object library versions */
+
+/* Uncomment to overwrite default value from VERSION */
+/* #define LIBBAC_LT_RELEASE     "5.1.0" */
+/* #define LIBBACCFG_LT_RELEASE  "5.1.0" */
+/* #define LIBBACPY_LT_RELEASE   "5.1.0" */
+/* #define LIBBACSQL_LT_RELEASE  "5.1.0" */
+/* #define LIBBACFIND_LT_RELEASE "5.1.0" */
+
 
 /* Debug flags */
 #undef  DEBUG
  *   it can always be turned on, but we advise to use it only
  *   for debug
  */
-#ifdef DEVELOPER
+#if DEVELOPER
 # ifndef _USE_LOCKMGR
 #  define _USE_LOCKMGR
-# endif
+# endif /* _USE_LOCKMGR */
+/*
+ * Enable priority management with the lock manager
+ *
+ * Note, turning this on will cause the Bacula SD to abort if
+ *  mutexes are executed out of order, which could lead to a
+ *  deadlock.  However, note that this is not necessarily a
+ *  deadlock, so turn this on only for debugging.
+ */
+#define USE_LOCKMGR_PRIORITY
+
+/*
+ * Enable thread verification before kill 
+ *
+ * Note, this extra check have a high cost when using
+ * dozens of thread, so turn this only for debugging.
+ */
+/* #define USE_LOCKMGR_SAFEKILL */
+#endif  /* DEVELOPER */
+
+#if !HAVE_LINUX_OS && !HAVE_SUN_OS && !HAVE_DARWIN_OS && !HAVE_FREEBSD_OS
+# undef _USE_LOCKMGR
 #endif
 
 /*
 /* #define TRACE_RES 1 */
 /* #define DEBUG_MEMSET 1 */
 /* #define DEBUG_MUTEX 1 */
+#define BEEF 0
 
 /*
  * Set SMALLOC_SANITY_CHECK to zero to turn off, otherwise