comparison libgaim/protocols/oscar/oscar.h @ 15088:25c3a33c6485

[gaim-migrate @ 17874] Add a flap_connection_send_snac() helper function that makes it a little easier/cleaner to send a SNAC-based FLAP command. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 02 Dec 2006 09:44:53 +0000
parents eed75cc6cb88
children 033e1604cf63
comparison
equal deleted inserted replaced
15087:337dfc40a538 15088:25c3a33c6485
580 FlapConnection *flap_connection_getbytype_all(OscarData *, int type); 580 FlapConnection *flap_connection_getbytype_all(OscarData *, int type);
581 void flap_connection_recv_cb(gpointer data, gint source, GaimInputCondition cond); 581 void flap_connection_recv_cb(gpointer data, gint source, GaimInputCondition cond);
582 void flap_connection_send(FlapConnection *conn, FlapFrame *frame); 582 void flap_connection_send(FlapConnection *conn, FlapFrame *frame);
583 void flap_connection_send_version(OscarData *od, FlapConnection *conn); 583 void flap_connection_send_version(OscarData *od, FlapConnection *conn);
584 void flap_connection_send_version_with_cookie(OscarData *od, FlapConnection *conn, guint16 length, const guint8 *chipsahoy); 584 void flap_connection_send_version_with_cookie(OscarData *od, FlapConnection *conn, guint16 length, const guint8 *chipsahoy);
585 void flap_connection_send_snac(OscarData *od, FlapConnection *conn, guint16 family, const guint16 subtype, guint16 flags, aim_snacid_t snacid, ByteStream *data);
585 void flap_connection_send_keepalive(OscarData *od, FlapConnection *conn); 586 void flap_connection_send_keepalive(OscarData *od, FlapConnection *conn);
586 FlapFrame *flap_frame_new(OscarData *od, guint16 channel, int datalen); 587 FlapFrame *flap_frame_new(OscarData *od, guint16 channel, int datalen);
587 588
588 OscarData *oscar_data_new(void); 589 OscarData *oscar_data_new(void);
589 void oscar_data_destroy(OscarData *); 590 void oscar_data_destroy(OscarData *);