equal
deleted
inserted
replaced
29 }; |
29 }; |
30 |
30 |
31 extern LmConnection* lconnection; |
31 extern LmConnection* lconnection; |
32 extern LmSSL* lssl; |
32 extern LmSSL* lssl; |
33 extern GMainLoop *main_loop; |
33 extern GMainLoop *main_loop; |
34 |
|
35 typedef struct { |
|
36 char *subject; |
|
37 char *body; |
|
38 time_t timestamp; |
|
39 char *jid; |
|
40 } unread_message_t; |
|
41 |
|
42 extern GSList *unread_messages; |
|
43 |
34 |
44 void xmpp_connect(void); |
35 void xmpp_connect(void); |
45 void xmpp_disconnect(void); |
36 void xmpp_disconnect(void); |
46 |
37 |
47 void xmpp_room_join(const char *room, const char *nickname, const char *passwd); |
38 void xmpp_room_join(const char *room, const char *nickname, const char *passwd); |
84 const char *xmpp_get_bookmark_nick(const char *bjid); |
75 const char *xmpp_get_bookmark_nick(const char *bjid); |
85 |
76 |
86 void xmpp_request(const char *fjid, enum iqreq_type reqtype); |
77 void xmpp_request(const char *fjid, enum iqreq_type reqtype); |
87 void request_vcard(const char *bjid); |
78 void request_vcard(const char *bjid); |
88 void xmpp_request_storage(const gchar *storage); |
79 void xmpp_request_storage(const gchar *storage); |
|
80 |
89 #endif /* __XMPP_H__ */ |
81 #endif /* __XMPP_H__ */ |
|
82 |
|
83 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ |