initial load of upstream version 1.06.32
[xmlrpc-c] / include / xmlrpc-c / server_cgi.h
1 /* Interface header file for libxmlrpc_server_cgi.
2
3    By Bryan Henderson, 05.04.27.  Contributed to the public domain.
4 */
5
6 #ifndef  XMLRPC_CGI_H_INCLUDED
7 #define  XMLRPC_CGI_H_INCLUDED
8
9 #include <xmlrpc-c/server.h>
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif /* __cplusplus */
14
15
16 void
17 xmlrpc_server_cgi_process_call(xmlrpc_registry * const registryP);
18
19 #define XMLRPC_CGI_NO_FLAGS (0)
20
21 extern void
22 xmlrpc_cgi_init (int flags);
23
24 extern xmlrpc_registry *
25 xmlrpc_cgi_registry (void);
26
27 void
28 xmlrpc_cgi_add_method(const char *  const method_name,
29                       xmlrpc_method const method,
30                       void *        const user_data);
31
32 void
33 xmlrpc_cgi_add_method_w_doc(const char *  const method_name,
34                             xmlrpc_method const method,
35                             void *        const user_data,
36                             const char *  const signature,
37                             const char *  const help);
38 extern void
39 xmlrpc_cgi_process_call (void);
40
41 extern void
42 xmlrpc_cgi_cleanup (void);
43
44
45 #ifdef __cplusplus
46 }
47 #endif /* __cplusplus */
48
49 #endif