2 * Bacula User Agent specific configuration and defines
9 Copyright (C) 2000-2005 Kern Sibbald
11 This program is free software; you can redistribute it and/or
12 modify it under the terms of the GNU General Public License
13 version 2 as amended with additional clauses defined in the
14 file LICENSE in the main source directory.
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 the file LICENSE for additional details.
24 * Resource codes -- they must be sequential for indexing
31 R_LAST = R_DIRECTOR /* Keep this updated */
35 * Some resource attributes
46 /* Definition of the contents of each Resource */
48 /* Console "globals" */
51 char *rc_file; /* startup file */
52 char *hist_file; /* command history file */
53 char *password; /* UA server password */
54 int tls_enable; /* Enable TLS on all connections */
55 int tls_require; /* Require TLS on all connections */
56 char *tls_ca_certfile; /* TLS CA Certificate File */
57 char *tls_ca_certdir; /* TLS CA Certificate Directory */
58 char *tls_certfile; /* TLS Client Certificate File */
59 char *tls_keyfile; /* TLS Client Key File */
61 TLS_CONTEXT *tls_ctx; /* Shared TLS Context */
67 int DIRport; /* UA server port */
68 char *address; /* UA server address */
69 char *password; /* UA server password */
70 int tls_enable; /* Enable TLS */
71 int tls_require; /* Require TLS */
72 char *tls_ca_certfile; /* TLS CA Certificate File */
73 char *tls_ca_certdir; /* TLS CA Certificate Directory */
74 char *tls_certfile; /* TLS Client Certificate File */
75 char *tls_keyfile; /* TLS Client Key File */
77 TLS_CONTEXT *tls_ctx; /* Shared TLS Context */
81 /* Define the Union of all the above
82 * resource structure definitions.