2 * Bacula User Agent specific configuration and defines
10 * Resource codes -- they must be sequential for indexing
14 #define R_CONSOLE 1001
15 #define R_DIRECTOR 1002
17 #define R_LAST R_DIRECTOR
20 * Some resource attributes
23 #define R_ADDRESS 1021
24 #define R_PASSWORD 1022
29 /* Definition of the contents of each Resource */
31 /* Console "globals" */
34 char *rc_file; /* startup file */
35 char *hist_file; /* command history file */
36 int require_ssl; /* Require SSL on all connections */
38 typedef struct s_res_con CONRES;
43 int DIRport; /* UA server port */
44 char *address; /* UA server address */
45 char *password; /* UA server password */
46 int enable_ssl; /* Use SSL */
48 typedef struct s_res_dir DIRRES;
51 /* Define the Union of all the above
52 * resource structure definitions.
55 struct s_res_dir res_dir;
56 struct s_res_con res_cons;
60 typedef union u_res URES;