2 * Bacula GNOME User Agent specific configuration and defines
4 * Kern Sibbald, March 2002
9 #ifndef __CONSOLE_CONF_H_
10 #define __CONSOLE_CONF_H_
13 * Resource codes -- they must be sequential for indexing
17 #define R_DIRECTOR 1001
18 #define R_CONSOLE 1002
20 #define R_LAST R_CONSOLE
23 * Some resource attributes
26 #define R_ADDRESS 1021
27 #define R_PASSWORD 1022
32 /* Definition of the contents of each Resource */
35 int DIRport; /* UA server port */
36 char *address; /* UA server address */
37 char *password; /* UA server password */
38 int enable_ssl; /* Use SSL */
40 typedef struct s_res_dir DIRRES;
44 char *fontface; /* Console Font specification */
45 int require_ssl; /* Require SSL on all connections */
47 typedef struct s_con_dir CONRES;
49 /* Define the Union of all the above
50 * resource structure definitions.
53 struct s_res_dir res_dir;
54 struct s_con_dir con_dir;
58 typedef union u_res URES;