1 
2 #ifndef CLIMM_XMPP_BASE_H
3 #define CLIMM_XMPP_BASE_H
4 
5 #include "im_request.h"
6 
7 typedef enum { p_list = 1, p_active, p_default, p_show, p_set, p_edit, p_list_quiet, p_show_quiet } xmpp_priv_t;
8 
9 Event *XMPPLogin (Server *serv);
10 void   XMPPLogout (Server *serv);
11 
12 
13 UBYTE XMPPSendmsg    (Server *serv, Contact *cont, Message *msg);
14 void  XMPPSetstatus  (Server *serv, Contact *cont, status_t status, const char *msg);
15 void  XMPPAuthorize  (Server *serv, Contact *cont, auth_t how, const char *msg);
16 UBYTE XMPPSendIq     (Server *serv, int8_t which, const char *full, const char *msg);
17 void  XMPPGoogleMail (Server *serv, time_t since, const char *query);
18 void  XMPPPrivacy    (Server *serv, xmpp_priv_t type, const char *list, const char *edit);
19 
20 #endif
21