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
25 #ifndef PURPLE_JABBER_BOSH_H_
26 #define PURPLE_JABBER_BOSH_H_
28 typedef struct _PurpleJabberBOSHConnection PurpleJabberBOSHConnection
;
33 jabber_bosh_init(void);
36 jabber_bosh_uninit(void);
38 PurpleJabberBOSHConnection
*
39 jabber_bosh_connection_new(JabberStream
*js
, const gchar
*url
);
42 jabber_bosh_connection_destroy(PurpleJabberBOSHConnection
*conn
);
45 jabber_bosh_connection_is_ssl(const PurpleJabberBOSHConnection
*conn
);
48 jabber_bosh_connection_send(PurpleJabberBOSHConnection
*conn
,
52 jabber_bosh_connection_send_keepalive(PurpleJabberBOSHConnection
*conn
);
54 #endif /* PURPLE_JABBER_BOSH_H_ */