| 24 |
24 |
| 25 typedef struct _PurpleBOSHConnection PurpleBOSHConnection; |
25 typedef struct _PurpleBOSHConnection PurpleBOSHConnection; |
| 26 |
26 |
| 27 #include "jabber.h" |
27 #include "jabber.h" |
| 28 |
28 |
| |
29 void jabber_bosh_init(void); |
| |
30 void jabber_bosh_uninit(void); |
| |
31 |
| 29 PurpleBOSHConnection* jabber_bosh_connection_init(JabberStream *js, const char *url); |
32 PurpleBOSHConnection* jabber_bosh_connection_init(JabberStream *js, const char *url); |
| |
33 void jabber_bosh_connection_destroy(PurpleBOSHConnection *conn); |
| |
34 |
| 30 void jabber_bosh_connection_connect(PurpleBOSHConnection *conn); |
35 void jabber_bosh_connection_connect(PurpleBOSHConnection *conn); |
| |
36 void jabber_bosh_connection_close(PurpleBOSHConnection *conn); |
| 31 void jabber_bosh_connection_send(PurpleBOSHConnection *conn, xmlnode *node); |
37 void jabber_bosh_connection_send(PurpleBOSHConnection *conn, xmlnode *node); |
| |
38 void jabber_bosh_connection_send_raw(PurpleBOSHConnection *conn, const char *data, int len); |
| 32 #endif /* _PURPLE_JABBER_BOSH_H_ */ |
39 #endif /* _PURPLE_JABBER_BOSH_H_ */ |