2 * Tray Monitor specific configuration and defines
4 * Adapted from dird_conf.c
6 * Nicolas Boichat, August MMIV
11 Copyright (C) 2004 Kern Sibbald and John Walker
13 This program is free software; you can redistribute it and/or
14 modify it under the terms of the GNU General Public License as
15 published by the Free Software Foundation; either version 2 of
16 the License, or (at your option) any later version.
18 This program is distributed in the hope that it will be useful,
19 but WITHOUT ANY WARRANTY; without even the implied warranty of
20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 General Public License for more details.
23 You should have received a copy of the GNU General Public
24 License along with this program; if not, write to the Free
25 Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
30 /* NOTE: #includes at the end of this file */
33 * Resource codes -- they must be sequential for indexing
41 R_LAST = R_STORAGE /* keep this updated */
46 * Some resource attributes
59 int DIRport; /* UA server port */
60 char *address; /* UA server address */
61 int enable_ssl; /* Use SSL */
65 * Tray Monitor Resource
70 int require_ssl; /* Require SSL for all connections */
71 MSGS *messages; /* Daemon message handler */
72 char *password; /* UA server password */
73 utime_t FDConnectTimeout; /* timeout for connect in seconds */
74 utime_t SDConnectTimeout; /* timeout in seconds */
85 int FDport; /* Where File daemon listens */
88 int enable_ssl; /* Use SSL */
98 int SDport; /* port where Directors connect */
101 int enable_ssl; /* Use SSL */
106 /* Define the Union of all the above
107 * resource structure definitions.