Mercurial > hg
comparison mcabber/src/xmpp_s10n.c @ 1604:351427ef0b4b
Remove #include's of C files
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 11 Oct 2009 15:59:53 +0200 |
parents | dcd5d4c75199 |
children |
comparison
equal
deleted
inserted
replaced
1603:54029aba9452 | 1604:351427ef0b4b |
---|---|
18 * along with this program; if not, write to the Free Software | 18 * along with this program; if not, write to the Free Software |
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
20 * USA | 20 * USA |
21 */ | 21 */ |
22 | 22 |
23 #include "xmpp_helper.h" | |
24 #include "events.h" | |
25 #include "screen.h" | |
26 #include "hbuf.h" | |
27 #include "settings.h" | |
28 | |
23 // xmpp_send_s10n(jid, subtype) | 29 // xmpp_send_s10n(jid, subtype) |
24 // Send a s10n message with the passed subtype | 30 // Send a s10n message with the passed subtype |
25 void xmpp_send_s10n(const char *bjid, LmMessageSubType type) | 31 void xmpp_send_s10n(const char *bjid, LmMessageSubType type) |
26 { | 32 { |
27 LmMessage *x = lm_message_new_with_sub_type(bjid, | 33 LmMessage *x = lm_message_new_with_sub_type(bjid, |
29 type); | 35 type); |
30 lm_connection_send(lconnection, x, NULL); | 36 lm_connection_send(lconnection, x, NULL); |
31 lm_message_unref(x); | 37 lm_message_unref(x); |
32 } | 38 } |
33 | 39 |
34 static int evscallback_subscription(eviqs *evp, guint evcontext) | 40 int evscallback_subscription(eviqs *evp, guint evcontext) |
35 { | 41 { |
36 char *barejid; | 42 char *barejid; |
37 char *buf; | 43 char *buf; |
38 | 44 |
39 if (evcontext == EVS_CONTEXT_TIMEOUT) { | 45 if (evcontext == EVS_CONTEXT_TIMEOUT) { |