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 R_LAST = R_CONSOLE_FONT /* Keep this updated */
25 * Some resource attributes
36 /* Definition of the contents of each Resource */
39 int DIRport; /* UA server port */
40 char *address; /* UA server address */
41 char *password; /* UA server password */
42 int tls_enable; /* Enable TLS */
43 int tls_require; /* Require TLS */
44 char *tls_ca_certfile; /* TLS CA Certificate File */
45 char *tls_ca_certdir; /* TLS CA Certificate Directory */
46 char *tls_certfile; /* TLS Client Certificate File */
47 char *tls_keyfile; /* TLS Client Key File */
49 TLS_CONTEXT *tls_ctx; /* Shared TLS Context */
54 char *fontface; /* Console Font specification */
55 int require_ssl; /* Require SSL on all connections */
60 char *password; /* UA server password */
61 int tls_enable; /* Enable TLS on all connections */
62 int tls_require; /* Require TLS on all connections */
63 char *tls_ca_certfile; /* TLS CA Certificate File */
64 char *tls_ca_certdir; /* TLS CA Certificate Directory */
65 char *tls_certfile; /* TLS Client Certificate File */
66 char *tls_keyfile; /* TLS Client Key File */
68 TLS_CONTEXT *tls_ctx; /* Shared TLS Context */
72 /* Define the Union of all the above
73 * resource structure definitions.
82 typedef union u_res URES;