2 Bacula(R) - The Network Backup Solution
4 Copyright (C) 2000-2015 Kern Sibbald
5 Copyright (C) 2000-2014 Free Software Foundation Europe e.V.
7 The original author of Bacula is Kern Sibbald, with contributions
8 from many others, a complete list can be found in the file AUTHORS.
10 You may use this file and others of this release according to the
11 license defined in the LICENSE file, which includes the Affero General
12 Public License, v3.0 ("AGPLv3") and some additional permissions and
13 terms pursuant to its AGPLv3 Section 7.
15 This notice must be preserved when any source code is
16 conveyed and/or propagated.
18 Bacula(R) is a registered trademark of Kern Sibbald.
21 * Includes specific to the Director
23 * Kern Sibbald, December MM
28 #include "lib/runscript.h"
30 #include "dird_conf.h"
32 #define DIRECTOR_DAEMON 1
34 #include "dir_plugins.h"
35 #include "cats/cats.h"
42 /* Globals that dird.c exports */
43 extern DIRRES *director; /* Director resource */
44 extern int FDConnectTimeout;
45 extern int SDConnectTimeout;
47 /* Used in ua_prune.c and ua_purge.c */
53 #define MAX_DEL_LIST_LEN 2000000
56 JobId_t *JobId; /* array of JobIds */
57 char *PurgedFiles; /* Array of PurgedFile flags */
58 int num_ids; /* ids stored */
59 int max_ids; /* size of array */
60 int num_del; /* number deleted */
61 int tot_ids; /* total to process */
64 /* Flags for find_next_volume_for_append() */
66 fnv_create_vol = true,
67 fnv_no_create_vol = false,
82 void free_plugin_config_item(plugin_config_item *lst);
83 void free_plugin_config_items(alist *lst);