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 */
37 char *password; /* UA server password */
39 typedef struct s_res_con CONRES;
44 int DIRport; /* UA server port */
45 char *address; /* UA server address */
46 char *password; /* UA server password */
47 int enable_ssl; /* Use SSL */
49 typedef struct s_res_dir DIRRES;
52 /* Define the Union of all the above
53 * resource structure definitions.
56 struct s_res_dir res_dir;
57 struct s_res_con res_cons;
61 typedef union u_res URES;