Added ssl fingerprint support for testing purposes
[jimb.git] / src / connection.h
blob0f0f04142131a2d433f61780ac08bf4e5de3f2c8
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: Connection header
19 * Package: JIMCI
20 * Author: Martin Kelm <martinkelm@idxsolutions.de>
22 int conn_create(char *host, int port, int ssl, char *ssl_fingerprint,
23 char *user, char *resource, char *password);
25 void conn_wait();
27 int conn_check_state();
29 int conn_terminate();