1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* Copyright (C) 2007 Red Hat, Inc.
*/
#ifndef __SOUP_XMLRPC_OLD_H__
#define __SOUP_XMLRPC_OLD_H__ 1
#include <libsoup/soup-types.h>
G_BEGIN_DECLS
/* XML-RPC client */
SOUP_AVAILABLE_IN_2_4
SOUP_DEPRECATED_IN_2_52_FOR(soup_xmlrpc_build_request)
char *soup_xmlrpc_build_method_call (const char *method_name,
GValue *params,
int n_params);
SOUP_AVAILABLE_IN_2_4
SOUP_DEPRECATED_IN_2_52_FOR(soup_xmlrpc_message_new)
SoupMessage *soup_xmlrpc_request_new (const char *uri,
const char *method_name,
...);
SOUP_AVAILABLE_IN_2_4
SOUP_DEPRECATED_IN_2_52_FOR(soup_xmlrpc_parse_response)
gboolean soup_xmlrpc_parse_method_response (const char *method_response,
int length,
GValue *value,
GError **error);
SOUP_AVAILABLE_IN_2_4
SOUP_DEPRECATED_IN_2_52_FOR(soup_xmlrpc_parse_response)
gboolean soup_xmlrpc_extract_method_response (const char *method_response,
int length,
GError **error,
GType type,
...);
/* XML-RPC server */
SOUP_AVAILABLE_IN_2_4
SOUP_DEPRECATED_IN_2_52_FOR(soup_xmlrpc_parse_request)
gboolean soup_xmlrpc_parse_method_call (const char *method_call,
int length,
char **method_name,
GValueArray **params);
SOUP_AVAILABLE_IN_2_4
SOUP_DEPRECATED_IN_2_52_FOR(soup_xmlrpc_parse_request)
gboolean soup_xmlrpc_extract_method_call (const char *method_call,
int length,
char **method_name,
...);
SOUP_AVAILABLE_IN_2_4
SOUP_DEPRECATED_IN_2_52_FOR(soup_xmlrpc_build_response)
char *soup_xmlrpc_build_method_response (GValue *value);
SOUP_AVAILABLE_IN_2_4
SOUP_DEPRECATED_IN_2_52_FOR(soup_xmlrpc_message_set_response)
void soup_xmlrpc_set_response (SoupMessage *msg,
GType type,
...);
SOUP_AVAILABLE_IN_2_4
SOUP_DEPRECATED_IN_2_52_FOR(soup_xmlrpc_message_set_fault)
void soup_xmlrpc_set_fault (SoupMessage *msg,
int fault_code,
const char *fault_format,
...) G_GNUC_PRINTF (3, 4);
G_END_DECLS
#endif /* __SOUP_XMLRPC_OLD_H__ */
|