Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/xmpp_s10n.c @ 1599:dcd5d4c75199
Update/Add headers
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 11 Oct 2009 15:39:32 +0200 |
parents | a087125d8fc8 |
children | 351427ef0b4b |
comparison
equal
deleted
inserted
replaced
1598:a087125d8fc8 | 1599:dcd5d4c75199 |
---|---|
1 /* See xmpp.c file for copyright and license details. */ | 1 /* |
2 * xmpp_s10n.c -- Jabber presence subscription handling | |
3 * | |
4 * Copyright (C) 2008-2009 Frank Zschockelt <mcabber@freakysoft.de> | |
5 * Copyright (C) 2005-2009 Mikael Berthe <mikael@lilotux.net> | |
6 * | |
7 * This program is free software; you can redistribute it and/or modify | |
8 * it under the terms of the GNU General Public License as published by | |
9 * the Free Software Foundation; either version 2 of the License, or (at | |
10 * your option) any later version. | |
11 * | |
12 * This program is distributed in the hope that it will be useful, but | |
13 * WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
15 * General Public License for more details. | |
16 * | |
17 * You should have received a copy of the GNU General Public License | |
18 * along with this program; if not, write to the Free Software | |
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 | |
20 * USA | |
21 */ | |
2 | 22 |
3 // xmpp_send_s10n(jid, subtype) | 23 // xmpp_send_s10n(jid, subtype) |
4 // Send a s10n message with the passed subtype | 24 // Send a s10n message with the passed subtype |
5 void xmpp_send_s10n(const char *bjid, LmMessageSubType type) | 25 void xmpp_send_s10n(const char *bjid, LmMessageSubType type) |
6 { | 26 { |
59 scr_LogPrint(LPRINT_LOGNORM, "%s", buf); | 79 scr_LogPrint(LPRINT_LOGNORM, "%s", buf); |
60 g_free(buf); | 80 g_free(buf); |
61 return 0; | 81 return 0; |
62 } | 82 } |
63 | 83 |
84 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ |