| 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_ */ |