aboutsummaryrefslogtreecommitdiff
path: root/net/xmlrpc-c-devel/files/patch-src::xmlrpc.h
blob: d486bcb288f8e05eee7478cfe104b67f4716040b (plain) (blame)
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
--- src/xmlrpc.h.orig	Thu Jun 28 01:35:01 2001
+++ src/xmlrpc.h	Tue Mar  2 23:39:39 2004
@@ -152,7 +152,7 @@
 
 /* The same as the above, but using a printf-style format string. */
 void xmlrpc_env_set_fault_formatted (xmlrpc_env* env, int code,
-				     char *format, ...);
+				     const char *format, ...);
 
 /* A simple debugging assertion. */
 #define XMLRPC_ASSERT_ENV_OK(env) \
@@ -362,17 +362,23 @@
 ** Increments the reference counts of input arguments if necessary.
 ** See the xmlrpc-c documentation for more information. */
 extern xmlrpc_value *
-xmlrpc_build_value (xmlrpc_env* env, char* format, ...);
+xmlrpc_build_value (xmlrpc_env* env, const char* format, ...);
 
 /* The same as the above, but using a va_list. */
 extern xmlrpc_value *
-xmlrpc_build_value_va (xmlrpc_env* env, char* format, va_list args);
+xmlrpc_build_value_va (xmlrpc_env* env, const char* format, va_list args);
 
 /* Extract values from an xmlrpc_value and store them into C variables.
 ** Does not increment the reference counts of output values.
 ** See the xmlrpc-c documentation for more information. */
 extern void
-xmlrpc_parse_value (xmlrpc_env* env, xmlrpc_value* value, char* format, ...);
+xmlrpc_parse_value (xmlrpc_env* env, xmlrpc_value* value,
+                    const char* format, ...);
+
+/* The same as the above, but using a va_list. */
+extern void
+xmlrpc_parse_value_va (xmlrpc_env* env, xmlrpc_value* value,
+                       const char* format, va_list args);
 
 /* Return the number of elements in an XML-RPC array.
 ** Sets XMLRPC_TYPE_ERROR if 'array' is not an array. */