2 * Bacula File Daemon specific configuration
7 Copyright (C) 2000, 2001, 2002 Kern Sibbald and John Walker
9 This program is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License as
11 published by the Free Software Foundation; either version 2 of
12 the License, or (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 General Public License for more details.
19 You should have received a copy of the GNU General Public
20 License along with this program; if not, write to the Free
21 Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
27 * Resource codes -- they must be sequential for indexing
31 #define R_DIRECTOR 1001
38 * Some resource attributes
41 #define R_ADDRESS 1021
42 #define R_PASSWORD 1022
46 /* Definition of the contents of each Resource */
49 char *password; /* Director password */
50 char *address; /* Director address or zero */
52 typedef struct s_res_dir DIRRES;
56 int FDport; /* where we listen for Directors */
57 char *working_directory;
59 char *subsys_directory;
61 typedef struct s_res_client CLIENT;
65 /* Define the Union of all the above
66 * resource structure definitions.
69 struct s_res_dir res_dir;
70 struct s_res_client res_client;
71 struct s_res_msgs res_msgs;
75 typedef union u_res URES;