comparison src/protocols/oscar/oscar.h @ 13611:7f91efd5af77

[gaim-migrate @ 15997] Use a GList instead of creation one ourselves committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 10 Apr 2006 04:40:22 +0000
parents 060835af7634
children a07dcc2c01bd
comparison
equal deleted inserted replaced
13610:060835af7634 13611:7f91efd5af77
374 374
375 guint16 type; 375 guint16 type;
376 guint16 subtype; 376 guint16 subtype;
377 flap_seqnum_t seqnum; 377 flap_seqnum_t seqnum;
378 guint32 status; 378 guint32 status;
379 struct snacgroup *groups; 379 GList *groups;
380 struct rateclass *rates; 380 struct rateclass *rates;
381 381
382 void *internal; /* internal conn-specific libfaim data */ 382 void *internal; /* internal conn-specific libfaim data */
383 }; 383 };
384 384
561 int oscar_data_addhandler(OscarData *od, guint16 family, guint16 type, aim_rxcallback_t newhandler, guint16 flags); 561 int oscar_data_addhandler(OscarData *od, guint16 family, guint16 type, aim_rxcallback_t newhandler, guint16 flags);
562 void aim_clearhandlers(OscarData *od); 562 void aim_clearhandlers(OscarData *od);
563 563
564 /* flap_connection.c */ 564 /* flap_connection.c */
565 FlapConnection *flap_connection_new(OscarData *, int type); 565 FlapConnection *flap_connection_new(OscarData *, int type);
566 void flap_connection_addgroup(FlapConnection *conn, guint16 group);
567 void flap_connection_close(OscarData *od, FlapConnection *conn); 566 void flap_connection_close(OscarData *od, FlapConnection *conn);
568 void flap_connection_destroy(FlapConnection *conn, OscarDisconnectReason reason); 567 void flap_connection_destroy(FlapConnection *conn, OscarDisconnectReason reason);
569 void flap_connection_schedule_destroy(FlapConnection *conn, OscarDisconnectReason reason); 568 void flap_connection_schedule_destroy(FlapConnection *conn, OscarDisconnectReason reason);
570 FlapConnection *flap_connection_findbygroup(OscarData *od, guint16 group); 569 FlapConnection *flap_connection_findbygroup(OscarData *od, guint16 group);
571 FlapConnection *flap_connection_getbytype(OscarData *, int type); 570 FlapConnection *flap_connection_getbytype(OscarData *, int type);
1517 guint16 exchange; 1516 guint16 exchange;
1518 char name[128]; 1517 char name[128];
1519 guint16 instance; 1518 guint16 instance;
1520 }; 1519 };
1521 1520
1522 /*
1523 * In SNACland, the terms 'family' and 'group' are synonymous -- the former
1524 * is my term, the latter is AOL's.
1525 */
1526 struct snacgroup {
1527 guint16 group;
1528 struct snacgroup *next;
1529 };
1530
1531 struct snacpair { 1521 struct snacpair {
1532 guint16 group; 1522 guint16 group;
1533 guint16 subtype; 1523 guint16 subtype;
1534 struct snacpair *next; 1524 struct snacpair *next;
1535 }; 1525 };