comparison mcabber/src/jab_priv.h @ 686:98de2d166a11

Use the new IQ system for authentication
author Mikael Berthe <mikael@lilotux.net>
date Mon, 06 Feb 2006 21:06:19 +0100
parents c5e0d8c3f00c
children 3e965a1186c7
comparison
equal deleted inserted replaced
685:f033345d1315 686:98de2d166a11
33 xmlnode xmldata; 33 xmlnode xmldata;
34 } iqs; 34 } iqs;
35 35
36 36
37 extern enum enum_jstate jstate; 37 extern enum enum_jstate jstate;
38 extern int s_id;
39 38
40 39
41 char *jidtodisp(const char *jid); 40 char *jidtodisp(const char *jid);
42 void handle_packet_iq(jconn conn, char *type, char *from, xmlnode xmldata); 41 void handle_packet_iq(jconn conn, char *type, char *from, xmlnode xmldata);
43 void display_server_error(xmlnode x); 42 void display_server_error(xmlnode x);
44 iqs *iqs_new(guint8 type, const char *ns, const char *prefix, time_t timeout); 43 iqs *iqs_new(guint8 type, const char *ns, const char *prefix, time_t timeout);
45 int iqs_del(const char *iqid); 44 int iqs_del(const char *iqid);
46 int iqs_callback(const char *iqid, xmlnode xml_anwser); 45 int iqs_callback(const char *iqid, xmlnode xml_anwser);
47 void iqs_check_timeout(void); 46 void iqs_check_timeout(void);
47 void iqscallback_auth(iqs *iqp, xmlnode xml_result);
48 48
49 #endif /* __JAB_PRIV_H__ */ 49 #endif /* __JAB_PRIV_H__ */
50 50
51 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ 51 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */