Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/jab_priv.h @ 577:5c6d364130ee
Move IQ Jabber stuff to a separate file
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 04 Dec 2005 11:06:59 +0100 |
parents | |
children | b3ab662757a0 |
comparison
equal
deleted
inserted
replaced
576:8b3db0b555a1 | 577:5c6d364130ee |
---|---|
1 #ifndef __JAB_PRIV_H__ | |
2 #define __JAB_PRIV_H__ 1 | |
3 | |
4 /* This header file declares functions used by jab*.c only. */ | |
5 | |
6 #include "jabglue.h" | |
7 | |
8 #define JABBER_AGENT_GROUP "Jabber Agents" | |
9 | |
10 static enum { | |
11 STATE_CONNECTING, | |
12 STATE_GETAUTH, | |
13 STATE_SENDAUTH, | |
14 STATE_LOGGED | |
15 } jstate; | |
16 | |
17 struct T_presence { | |
18 enum imstatus st; | |
19 const char *msg; | |
20 }; | |
21 | |
22 extern int regmode, regdone; | |
23 extern int s_id; | |
24 | |
25 char *jidtodisp(const char *jid); | |
26 void handle_packet_iq(jconn conn, char *type, char *from, xmlnode xmldata); | |
27 void display_server_error(xmlnode x); | |
28 | |
29 #endif /* __JAB_PRIV_H__ */ | |
30 | |
31 /* vim: set expandtab cindent cinoptions=>2:2(0: For Vim users... */ |