Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/xmpp_iqrequest.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_iqrequest.c -- Jabber IQ request 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 static LmHandlerResult cb_roster(LmMessageHandler *h, LmConnection *c, | 23 static LmHandlerResult cb_roster(LmMessageHandler *h, LmConnection *c, |
4 LmMessage *m, gpointer user_data); | 24 LmMessage *m, gpointer user_data); |
5 static LmHandlerResult cb_version(LmMessageHandler *h, LmConnection *c, | 25 static LmHandlerResult cb_version(LmMessageHandler *h, LmConnection *c, |
6 LmMessage *m, gpointer user_data); | 26 LmMessage *m, gpointer user_data); |
596 NULL, FALSE); | 616 NULL, FALSE); |
597 lm_connection_send_with_reply(lconnection, iq, handler, NULL); | 617 lm_connection_send_with_reply(lconnection, iq, handler, NULL); |
598 lm_message_handler_unref(handler); | 618 lm_message_handler_unref(handler); |
599 lm_message_unref(iq); | 619 lm_message_unref(iq); |
600 } | 620 } |
621 | |
622 /* vim: set expandtab cindent cinoptions=>2\:2(0: For Vim users... */ |