2 Bacula® - The Network Backup Solution
4 Copyright (C) 2000-2014 Free Software Foundation Europe e.V.
6 The main author of Bacula is Kern Sibbald, with contributions from many
7 others, a complete list can be found in the file AUTHORS.
9 You may use this file and others of this release according to the
10 license defined in the LICENSE file, which includes the Affero General
11 Public License, v3.0 ("AGPLv3") and some additional permissions and
12 terms pursuant to its AGPLv3 Section 7.
14 Bacula® is a registered trademark of Kern Sibbald.
17 * Includes specific to the Director
19 * Kern Sibbald, December MM
24 #include "lib/runscript.h"
26 #include "dird_conf.h"
28 #define DIRECTOR_DAEMON 1
30 #include "dir_plugins.h"
31 #include "cats/cats.h"
32 #include "cats/sql_glue.h"
39 /* Globals that dird.c exports */
40 extern DIRRES *director; /* Director resource */
41 extern int FDConnectTimeout;
42 extern int SDConnectTimeout;
44 /* Used in ua_prune.c and ua_purge.c */
50 #define MAX_DEL_LIST_LEN 2000000
53 JobId_t *JobId; /* array of JobIds */
54 char *PurgedFiles; /* Array of PurgedFile flags */
55 int num_ids; /* ids stored */
56 int max_ids; /* size of array */
57 int num_del; /* number deleted */
58 int tot_ids; /* total to process */
61 /* Flags for find_next_volume_for_append() */
63 fnv_create_vol = true,
64 fnv_no_create_vol = false,
79 void free_plugin_config_item(plugin_config_item *lst);
80 void free_plugin_config_items(alist *lst);