Added ssl fingerprint support for testing purposes
[jimb.git] / src / config.h
blob5e48efb3fd577708c6757d83e5e7861012547334
1 /**
2 * JIMCI (Jabber Instant Messaging Connection Interface)
3 * This file is part of JIMB.
5 * JIMCI is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License Version 3
7 * as published by the Free Software Foundation.
9 * JIMCI is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License Version 3
15 * along with JIMCI; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 * File: Config header
19 * Package: JIMCI
20 * Author: Martin Kelm <martinkelm@idxsolutions.de>
22 typedef struct cfg_st_jabber cfg_st_jabber;
23 struct cfg_st_jabber {
24 char host[256];
25 int port;
26 char user[256];
27 char resource[256];
28 char password[256];
29 int ssl;
30 char ssl_fingerprint[256];
31 } cfg_jabber;
33 typedef struct cfg_st_mysql cfg_st_mysql;
34 struct cfg_st_mysql {
35 char server[256];
36 char user[256];
37 char password[256];
38 char database[256];
39 } cfg_mysql;
41 typedef struct cfg_st_services cfg_st_services;
42 struct cfg_st_services {
43 char actions_exec[256];
44 char actions_script[256];
45 int actions_interval;
46 char updates_exec[256];
47 char updates_script[256];
48 int updates_interval;
49 char queue_message[256];
50 } cfg_services;