2 * @file bosh.h Bidirectional-streams over Synchronous HTTP (BOSH)
3 * (XEP-0124 and XEP-0206)
7 * Purple is the legal property of its developers, whose names are too numerous
8 * to list here. Please refer to the COPYRIGHT file distributed with this
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
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 * GNU 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 02111-1301 USA
26 #ifndef PURPLE_JABBER_BOSH_H
27 #define PURPLE_JABBER_BOSH_H
29 typedef struct _PurpleJabberBOSHConnection PurpleJabberBOSHConnection
;
34 jabber_bosh_init(void);
37 jabber_bosh_uninit(void);
39 PurpleJabberBOSHConnection
*
40 jabber_bosh_connection_new(JabberStream
*js
, const gchar
*url
);
43 jabber_bosh_connection_destroy(PurpleJabberBOSHConnection
*conn
);
46 jabber_bosh_connection_is_ssl(const PurpleJabberBOSHConnection
*conn
);
49 jabber_bosh_connection_send(PurpleJabberBOSHConnection
*conn
,
53 jabber_bosh_connection_send_keepalive(PurpleJabberBOSHConnection
*conn
);
55 #endif /* PURPLE_JABBER_BOSH_H */