-/*
- * Bacula File Daemon
- *
- * Kern Sibbald, March MM
- *
- * Version $Id$
- *
- */
/*
Bacula® - The Network Backup Solution
- Copyright (C) 2000-2006 Free Software Foundation Europe e.V.
+ Copyright (C) 2000-2007 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.
(FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
Switzerland, email:ftf@fsfeurope.org.
*/
+/*
+ * Bacula File Daemon
+ *
+ * Kern Sibbald, March MM
+ *
+ * Version $Id$
+ *
+ */
#include "bacula.h"
#include "filed.h"
/* Forward referenced functions */
void terminate_filed(int sig);
-static int check_resources();
+static bool check_resources();
/* Exported variables */
CLIENT *me; /* my resource */
bool no_signals = false;
+void *start_heap;
#define CONFIG_FILE "bacula-fd.conf" /* default config file */
" -u userid\n"
" -v verbose user messages\n"
" -? print this message.\n"
-"\n"), BYEAR, VERSION, BDATE);
+"\n"), 2000, VERSION, BDATE);
exit(1);
}
char *uid = NULL;
char *gid = NULL;
+ start_heap = sbrk(0);
setlocale(LC_ALL, "");
bindtextdomain("bacula", LOCALEDIR);
textdomain("bacula");
* Make a quick check to see that we have all the
* resources needed.
*/
-static int check_resources()
+static bool check_resources()
{
bool OK = true;
DIRRES *director;