1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
4 * JP Rosevear <jpr@ximian.com>
5 * Rodrigo Moya <rodrigo@ximian.com>
7 * Copyright 2003, Novell, Inc.
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of version 2 of the GNU Lesser General Public
11 * License as published by the Free Software Foundation.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
24 #ifndef E_GW_MESSAGE_H
25 #define E_GW_MESSAGE_H
27 #include <libsoup/soup-soap-message.h>
31 SoupSoapMessage *e_gw_message_new_with_header (const char *uri, const char *session_id, const char *method_name);
32 void e_gw_message_write_string_parameter (SoupSoapMessage *msg, const char *name,
33 const char *prefix, const char *value);
34 void e_gw_message_write_string_parameter_with_attribute (SoupSoapMessage *msg,
38 const char *attrubute_name,
39 const char *attribute_value);
40 void e_gw_message_write_base64_parameter (SoupSoapMessage *msg,
44 void e_gw_message_write_int_parameter (SoupSoapMessage *msg, const char *name, const char *prefix, long value);
47 void e_gw_message_write_footer (SoupSoapMessage *msg);