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
22 #define R_FIRST R_DIRECTOR
23 #define R_LAST R_CONSOLE_FONT
26 * Some resource attributes
29 #define R_ADDRESS 1021
30 #define R_PASSWORD 1022
35 /* Definition of the contents of each Resource */
38 int DIRport; /* UA server port */
39 char *address; /* UA server address */
40 char *password; /* UA server password */
41 int enable_ssl; /* Use SSL */
43 typedef struct s_res_dir DIRRES;
47 char *fontface; /* Console Font specification */
48 int require_ssl; /* Require SSL on all connections */
50 typedef struct s_con_font CONFONTRES;
54 char *password; /* UA server password */
55 int require_ssl; /* Require SSL on all connections */
57 typedef struct s_con_res CONRES;
60 /* Define the Union of all the above
61 * resource structure definitions.
64 struct s_res_dir dir_res;
65 struct s_con_font con_font;
66 struct s_con_res con_res;
70 typedef union u_res URES;