1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/Frameworks/libpurple.framework/Versions/0.6.2/Headers/soap.h Fri Aug 21 13:25:11 2009 -0700
1.3 @@ -0,0 +1,51 @@
1.4 +/**
1.5 + * @file soap.h
1.6 + * header file for SOAP connection related process
1.7 + *
1.8 + * purple
1.9 + *
1.10 + * Purple is the legal property of its developers, whose names are too numerous
1.11 + * to list here. Please refer to the COPYRIGHT file distributed with this
1.12 + * source distribution.
1.13 + *
1.14 + * This program is free software; you can redistribute it and/or modify
1.15 + * it under the terms of the GNU General Public License as published by
1.16 + * the Free Software Foundation; either version 2 of the License, or
1.17 + * (at your option) any later version.
1.18 + *
1.19 + * This program is distributed in the hope that it will be useful,
1.20 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.21 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.22 + * GNU General Public License for more details.
1.23 + *
1.24 + * You should have received a copy of the GNU General Public License
1.25 + * along with this program; if not, write to the Free Software
1.26 + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
1.27 + */
1.28 +
1.29 +#ifndef _MSN_SOAP_H
1.30 +#define _MSN_SOAP_H
1.31 +
1.32 +#include "session.h"
1.33 +#include "sslconn.h"
1.34 +#include "xmlnode.h"
1.35 +
1.36 +#include <glib.h>
1.37 +
1.38 +typedef struct _MsnSoapMessage MsnSoapMessage;
1.39 +typedef void (*MsnSoapCallback)(MsnSoapMessage *request,
1.40 + MsnSoapMessage *response, gpointer cb_data);
1.41 +
1.42 +struct _MsnSoapMessage {
1.43 + char *action;
1.44 + xmlnode *xml;
1.45 + GSList *headers;
1.46 +};
1.47 +
1.48 +MsnSoapMessage *msn_soap_message_new(const char *action, xmlnode *xml);
1.49 +
1.50 +void msn_soap_message_send(MsnSession *session, MsnSoapMessage *message,
1.51 + const char *host, const char *path, gboolean secure,
1.52 + MsnSoapCallback cb, gpointer cb_data);
1.53 +
1.54 +#endif