From: Rob F. <rob...@us...> - 2002-02-17 18:08:15
|
Update of /cvsroot/gaim/gaim/src/protocols/jabber In directory usw-pr-cvs1:/tmp/cvs-serv1918/protocols/jabber Modified Files: jabber.c Log Message: I Love Rock & Roll.... Index: jabber.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/jabber.c,v retrieving revision 1.32 retrieving revision 1.33 diff -u -d -r1.32 -r1.33 --- jabber.c 8 Dec 2001 09:48:52 -0000 1.32 +++ jabber.c 17 Feb 2002 18:08:12 -0000 1.33 @@ -92,56 +92,86 @@ xmlnode current; /* Current node in parsing instance.. */ /* Event callback ptrs */ - void (*on_state)(struct gjconn_struct *j, int state); - void (*on_packet)(struct gjconn_struct *j, jpacket p); + void (*on_state)(struct gjconn_struct *gjc, int state); + void (*on_packet)(struct gjconn_struct *gjc, jpacket p); + + GHashTable *queries; /* query tracker */ void *priv; [...2950 lines suppressed...] ret->user_opts = jabber_user_opts; ret->login = jabber_login; ret->close = jabber_close; ret->send_im = jabber_send_im; - ret->set_info = NULL; + ret->set_info = jabber_set_info; ret->get_info = jabber_get_info; + ret->get_cb_info = jabber_get_cb_info; + ret->get_cb_away = jabber_get_cb_away_msg; ret->set_away = jabber_set_away; ret->set_dir = NULL; ret->get_dir = NULL; @@ -1831,6 +2971,7 @@ ret->keepalive = jabber_keepalive; ret->normalize = jabber_normalize; ret->buddy_free = jabber_buddy_free; + ret->register_user = jabber_register_user; my_protocol = ret; } |