Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/jab_iq.c @ 1361:0562106d20c1
Update some copyrights
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 11 Nov 2007 14:36:48 +0100 |
parents | 9716cf8a0726 |
children | c7e709719c43 |
comparison
equal
deleted
inserted
replaced
1360:8613d3f4ae91 | 1361:0562106d20c1 |
---|---|
2 * jab_iq.c -- Jabber protocol IQ-related fonctions | 2 * jab_iq.c -- Jabber protocol IQ-related fonctions |
3 * | 3 * |
4 * Copyright (C) 2005-2007 Mikael Berthe <mikael@lilotux.net> | 4 * Copyright (C) 2005-2007 Mikael Berthe <mikael@lilotux.net> |
5 * Some parts initially came from the centericq project: | 5 * Some parts initially came from the centericq project: |
6 * Copyright (C) 2002-2005 by Konstantin Klyagin <konst@konst.org.ua> | 6 * Copyright (C) 2002-2005 by Konstantin Klyagin <konst@konst.org.ua> |
7 * Some small parts come from the Gaim project <http://gaim.sourceforge.net/> | 7 * Some small parts come from the Pidgin project <http://pidgin.im/> |
8 * | 8 * |
9 * This program is free software; you can redistribute it and/or modify | 9 * This program is free software; you can redistribute it and/or modify |
10 * it under the terms of the GNU General Public License as published by | 10 * it under the terms of the GNU General Public License as published by |
11 * the Free Software Foundation; either version 2 of the License, or (at | 11 * the Free Software Foundation; either version 2 of the License, or (at |
12 * your option) any later version. | 12 * your option) any later version. |
1497 g_free(ver); | 1497 g_free(ver); |
1498 jab_send(jc, x); | 1498 jab_send(jc, x); |
1499 xmlnode_free(x); | 1499 xmlnode_free(x); |
1500 } | 1500 } |
1501 | 1501 |
1502 // This function borrows some code from the Gaim project | 1502 // This function borrows some code from the Pidgin project |
1503 static void handle_iq_time(jconn conn, char *from, const char *id, | 1503 static void handle_iq_time(jconn conn, char *from, const char *id, |
1504 xmlnode xmldata) | 1504 xmlnode xmldata) |
1505 { | 1505 { |
1506 xmlnode x; | 1506 xmlnode x; |
1507 xmlnode myquery; | 1507 xmlnode myquery; |
1542 jab_send(jc, x); | 1542 jab_send(jc, x); |
1543 xmlnode_free(x); | 1543 xmlnode_free(x); |
1544 g_free(buf); | 1544 g_free(buf); |
1545 } | 1545 } |
1546 | 1546 |
1547 // This function borrows some code from the Gaim project | 1547 // This function borrows some code from the Pidgin project |
1548 static void handle_iq_time202(jconn conn, char *from, const char *id, | 1548 static void handle_iq_time202(jconn conn, char *from, const char *id, |
1549 xmlnode xmldata) | 1549 xmlnode xmldata) |
1550 { | 1550 { |
1551 xmlnode x; | 1551 xmlnode x; |
1552 xmlnode myquery; | 1552 xmlnode myquery; |
1596 jab_send(jc, x); | 1596 jab_send(jc, x); |
1597 xmlnode_free(x); | 1597 xmlnode_free(x); |
1598 g_free(buf); | 1598 g_free(buf); |
1599 } | 1599 } |
1600 | 1600 |
1601 // This function borrows some code from the Gaim project | 1601 // This function borrows some code from the Pidgin project |
1602 static void handle_iq_get(jconn conn, char *from, xmlnode xmldata) | 1602 static void handle_iq_get(jconn conn, char *from, xmlnode xmldata) |
1603 { | 1603 { |
1604 const char *id, *ns; | 1604 const char *id, *ns; |
1605 xmlnode x; | 1605 xmlnode x; |
1606 guint iq_not_implemented = FALSE; | 1606 guint iq_not_implemented = FALSE; |