Fix FSF address (Tobias Mueller, #470445)
[platform/upstream/evolution-data-server.git] / servers / groupwise / e-gw-message.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /* 
3  * Authors : 
4  *  JP Rosevear <jpr@ximian.com>
5  *  Rodrigo Moya <rodrigo@ximian.com>
6  *
7  * Copyright 2003, Novell, Inc.
8  *
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.
12  *
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.
17  *
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
21  * USA
22  */
23
24 #ifndef E_GW_MESSAGE_H
25 #define E_GW_MESSAGE_H
26
27 #include <libsoup/soup-soap-message.h>
28
29 G_BEGIN_DECLS
30
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,
35                                                                      const char *name,
36                                                                      const char *prefix,
37                                                                      const char *value, 
38                                                                      const char *attrubute_name,
39                                                                      const char *attribute_value);
40 void             e_gw_message_write_base64_parameter (SoupSoapMessage *msg,
41                                                       const char *name,
42                                                       const char *prefix,
43                                                       const char *value);
44 void e_gw_message_write_int_parameter (SoupSoapMessage *msg, const char *name, const char *prefix, long value);
45
46
47 void             e_gw_message_write_footer (SoupSoapMessage *msg);
48
49 G_END_DECLS
50
51 #endif