2 Bacula(R) - The Network Backup Solution
4 Copyright (C) 2000-2017 Kern Sibbald
6 The original author of Bacula is Kern Sibbald, with contributions
7 from many others, a complete list can be found in the file AUTHORS.
9 You may use this file and others of this release according to the
10 license defined in the LICENSE file, which includes the Affero General
11 Public License, v3.0 ("AGPLv3") and some additional permissions and
12 terms pursuant to its AGPLv3 Section 7.
14 This notice must be preserved when any source code is
15 conveyed and/or propagated.
17 Bacula(R) is a registered trademark of Kern Sibbald.
20 * Bacula User Agent specific configuration and defines
22 * Kern Sibbald, Sep MM
25 * Bacula User Agent specific configuration and defines
27 * Kern Sibbald, Sep MM
32 * Resource codes -- they must be sequential for indexing
35 bool parse_cons_config(CONFIG *config, const char *configfile, int exit_code);
41 R_LAST = R_DIRECTOR /* Keep this updated */
45 * Some resource attributes
56 /* Definition of the contents of each Resource */
58 /* Console "globals" */
61 char *rc_file; /* startup file */
62 char *hist_file; /* command history file */
63 char *password; /* UA server password */
64 bool comm_compression; /* Enable comm line compression */
65 bool tls_authenticate; /* Authenticate with TLS */
66 bool tls_enable; /* Enable TLS on all connections */
67 bool tls_require; /* Require TLS on all connections */
68 char *tls_ca_certfile; /* TLS CA Certificate File */
69 char *tls_ca_certdir; /* TLS CA Certificate Directory */
70 char *tls_certfile; /* TLS Client Certificate File */
71 char *tls_keyfile; /* TLS Client Key File */
72 char *director; /* bind to director */
73 utime_t heartbeat_interval; /* Interval to send heartbeats to Dir */
75 TLS_CONTEXT *tls_ctx; /* Shared TLS Context */
81 uint32_t DIRport; /* UA server port */
82 char *address; /* UA server address */
83 char *password; /* UA server password */
84 bool tls_authenticate; /* Authenticate with TLS */
85 bool tls_enable; /* Enable TLS */
86 bool tls_require; /* Require TLS */
87 char *tls_ca_certfile; /* TLS CA Certificate File */
88 char *tls_ca_certdir; /* TLS CA Certificate Directory */
89 char *tls_certfile; /* TLS Client Certificate File */
90 char *tls_keyfile; /* TLS Client Key File */
91 utime_t heartbeat_interval; /* Interval to send heartbeats to Dir */
93 TLS_CONTEXT *tls_ctx; /* Shared TLS Context */
97 /* Define the Union of all the above
98 * resource structure definitions.