comparison libpurple/protocols/msn/soap.h @ 30954:48f70e888c04

propagate from branch 'im.pidgin.pidgin' (head 8cc16fcb41111aae817fe10168b40d82990895c5) to branch 'im.pidgin.cpw.malu.xmpp.google_relay' (head 72d65c944b0cad18592ac527559d320f9fd32e58)
author Marcus Lundblad <ml@update.uu.se>
date Sun, 14 Feb 2010 22:26:14 +0000
parents 462cb893521b
children
comparison
equal deleted inserted replaced
30952:d873eeaccfc2 30954:48f70e888c04
20 * 20 *
21 * You should have received a copy of the GNU General Public License 21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software 22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
24 */ 24 */
25 #ifndef MSN_SOAP_H
26 #define MSN_SOAP_H
25 27
26 #ifndef _MSN_SOAP_H 28 typedef struct _MsnSoapMessage MsnSoapMessage;
27 #define _MSN_SOAP_H 29
30 #include <glib.h>
31
32 #include "xmlnode.h"
28 33
29 #include "session.h" 34 #include "session.h"
30 #include "sslconn.h" 35 #include "sslconn.h"
31 #include "xmlnode.h"
32 36
33 #include <glib.h>
34
35 typedef struct _MsnSoapMessage MsnSoapMessage;
36 typedef void (*MsnSoapCallback)(MsnSoapMessage *request, 37 typedef void (*MsnSoapCallback)(MsnSoapMessage *request,
37 MsnSoapMessage *response, gpointer cb_data); 38 MsnSoapMessage *response, gpointer cb_data);
38 39
39 struct _MsnSoapMessage { 40 struct _MsnSoapMessage {
40 char *action; 41 char *action;
46 47
47 void msn_soap_message_send(MsnSession *session, MsnSoapMessage *message, 48 void msn_soap_message_send(MsnSession *session, MsnSoapMessage *message,
48 const char *host, const char *path, gboolean secure, 49 const char *host, const char *path, gboolean secure,
49 MsnSoapCallback cb, gpointer cb_data); 50 MsnSoapCallback cb, gpointer cb_data);
50 51
51 #endif 52 #endif /* MSN_SOAP_H */