libpurple/protocols/jabber/bosh.h

branch
cpw.darkrain42.xmpp.bosh
changeset 26903
3e138bcf5d46
parent 26660
be0a41af4dde
child 28072
208dfa375b79
equal deleted inserted replaced
26902:c6822920f714 26903:3e138bcf5d46
1 /** 1 /**
2 * @file bosh.h Buddy handlers 2 * @file bosh.h Bidirectional-streams over Synchronous HTTP (BOSH) (XEP-0124 and XEP-0206)
3 * 3 *
4 * purple 4 * purple
5 * 5 *
6 * Copyright (C) 2008, Tobias Markmann <tmarkmann@googlemail.com> 6 * Copyright (C) 2008, Tobias Markmann <tmarkmann@googlemail.com>
7 * 7 *
17 * 17 *
18 * You should have received a copy of the GNU General Public License 18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software 19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
21 */ 21 */
22 #ifndef _PURPLE_JABBER_BOSH_H_ 22 #ifndef PURPLE_JABBER_BOSH_H_
23 #define _PURPLE_JABBER_BOSH_H_ 23 #define PURPLE_JABBER_BOSH_H_
24 24
25 typedef struct _PurpleBOSHConnection PurpleBOSHConnection; 25 typedef struct _PurpleBOSHConnection PurpleBOSHConnection;
26 26
27 #include "jabber.h" 27 #include "jabber.h"
28 28
36 36
37 void jabber_bosh_connection_connect(PurpleBOSHConnection *conn); 37 void jabber_bosh_connection_connect(PurpleBOSHConnection *conn);
38 void jabber_bosh_connection_close(PurpleBOSHConnection *conn); 38 void jabber_bosh_connection_close(PurpleBOSHConnection *conn);
39 void jabber_bosh_connection_send_raw(PurpleBOSHConnection *conn, const char *data); 39 void jabber_bosh_connection_send_raw(PurpleBOSHConnection *conn, const char *data);
40 void jabber_bosh_connection_refresh(PurpleBOSHConnection *conn); 40 void jabber_bosh_connection_refresh(PurpleBOSHConnection *conn);
41 #endif /* _PURPLE_JABBER_BOSH_H_ */ 41 #endif /* PURPLE_JABBER_BOSH_H_ */

mercurial