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
21 #define R_FIRST R_DIRECTOR
22 #define R_LAST R_CONSOLE
25 * Some resource attributes
28 #define R_ADDRESS 1021
29 #define R_PASSWORD 1022
34 /* Definition of the contents of each Resource */
37 int DIRport; /* UA server port */
38 char *address; /* UA server address */
39 char *password; /* UA server password */
40 int enable_ssl; /* Use SSL */
42 typedef struct s_res_dir DIRRES;
46 char *fontface; /* Console Font specification */
47 char *password; /* UA server password */
48 int require_ssl; /* Require SSL on all connections */
50 typedef struct s_con_dir CONRES;
52 /* Define the Union of all the above
53 * resource structure definitions.
56 struct s_res_dir res_dir;
57 struct s_con_dir con_dir;
61 typedef union u_res URES;