Mercurial > pidgin.yaz
view libpurple/protocols/jabber/bosh.c @ 25598:b238da95f39a
* some refactoring
author | Tobias Markmann <tfar@soc.pidgin.im> |
---|---|
date | Sun, 03 Aug 2008 22:50:13 +0000 |
parents | 7768cad83127 |
children | 1cbe5a9f6efb |
line wrap: on
line source
/* * purple - Jabber Protocol Plugin * * Copyright (C) 2008, Tobias Markmann <tmarkmann@googlemail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA * */ #include "internal.h" #include "cipher.h" #include "debug.h" #include "imgstore.h" #include "prpl.h" #include "notify.h" #include "request.h" #include "util.h" #include "xmlnode.h" #include "buddy.h" #include "chat.h" #include "jabber.h" #include "iq.h" #include "presence.h" #include "xdata.h" #include "pep.h" #include "adhoccommands.h" PurpleHTTPHeaderField* jabber_bosh_http_header_field(const char *name, *const char *value) { PurpleHTTPHeaderField *tmp = g_new0(PurpleHTTPHeaderField, 0); tmp->name = g_strdup(name); tmp->value = g_strdup(value); return tmp; } void jabber_bosh_http_connection_connect(PurpleHTTPConnection *conn) { }