5 Bacula® - The Network Backup Solution
7 Copyright (C) 2000-2006 Free Software Foundation Europe e.V.
9 The main author of Bacula is Kern Sibbald, with contributions from
10 many others, a complete list can be found in the file AUTHORS.
11 This program is Free Software; you can redistribute it and/or
12 modify it under the terms of version two of the GNU General Public
13 License as published by the Free Software Foundation and included
16 This program is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with this program; if not, write to the Free Software
23 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
26 Bacula® is a registered trademark of John Walker.
27 The licensor of Bacula is the Free Software Foundation Europe
28 (FSFE), Fiduciary Program, Sumatrastrasse 25, 8006 Zürich,
29 Switzerland, email:ftf@fsfeurope.org.
39 * Resource codes -- they must be sequential for indexing
43 #define R_CONSOLE 1001
44 #define R_DIRECTOR 1002
46 #define R_LAST R_DIRECTOR
49 * Some resource attributes
52 #define R_ADDRESS 1021
53 #define R_PASSWORD 1022
58 /* Definition of the contents of each Resource */
60 /* Console "globals" */
63 char *rc_file; /* startup file */
64 char *hist_file; /* command history file */
65 char *password; /* UA server password */
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 */
73 TLS_CONTEXT *tls_ctx; /* Shared TLS Context */
79 uint32_t DIRport; /* UA server port */
80 char *address; /* UA server address */
81 char *password; /* UA server password */
82 bool tls_enable; /* Enable TLS on all connections */
83 bool tls_require; /* Require TLS on all connections */
84 char *tls_ca_certfile; /* TLS CA Certificate File */
85 char *tls_ca_certdir; /* TLS CA Certificate Directory */
86 char *tls_certfile; /* TLS Client Certificate File */
87 char *tls_keyfile; /* TLS Client Key File */
89 TLS_CONTEXT *tls_ctx; /* Shared TLS Context */
93 /* Define the Union of all the above
94 * resource structure definitions.
102 typedef union u_res URES;
104 #endif // CONSOLECONF_H