2006-12-21 03:57:49 +00:00
|
|
|
/* Interface header file for libxmlrpc_server_cgi.
|
|
|
|
|
|
|
|
By Bryan Henderson, 05.04.27. Contributed to the public domain.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef XMLRPC_CGI_H_INCLUDED
|
|
|
|
#define XMLRPC_CGI_H_INCLUDED
|
|
|
|
|
2012-10-13 11:37:25 -05:00
|
|
|
#include <xmlrpc-c/c_util.h>
|
2006-12-21 03:57:49 +00:00
|
|
|
#include <xmlrpc-c/server.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2012-10-13 11:37:25 -05:00
|
|
|
XMLRPC_DLLEXPORT
|
2006-12-21 03:57:49 +00:00
|
|
|
void
|
|
|
|
xmlrpc_server_cgi_process_call(xmlrpc_registry * const registryP);
|
|
|
|
|
|
|
|
#define XMLRPC_CGI_NO_FLAGS (0)
|
|
|
|
|
2012-10-13 11:37:25 -05:00
|
|
|
XMLRPC_DLLEXPORT
|
2006-12-21 03:57:49 +00:00
|
|
|
extern void
|
2012-10-13 11:37:25 -05:00
|
|
|
xmlrpc_cgi_init(int const flags);
|
2006-12-21 03:57:49 +00:00
|
|
|
|
2012-10-13 11:37:25 -05:00
|
|
|
XMLRPC_DLLEXPORT
|
2006-12-21 03:57:49 +00:00
|
|
|
extern xmlrpc_registry *
|
|
|
|
xmlrpc_cgi_registry (void);
|
|
|
|
|
2012-10-13 11:37:25 -05:00
|
|
|
XMLRPC_DLLEXPORT
|
2006-12-21 03:57:49 +00:00
|
|
|
void
|
|
|
|
xmlrpc_cgi_add_method(const char * const method_name,
|
|
|
|
xmlrpc_method const method,
|
|
|
|
void * const user_data);
|
|
|
|
|
2012-10-13 11:37:25 -05:00
|
|
|
XMLRPC_DLLEXPORT
|
2006-12-21 03:57:49 +00:00
|
|
|
void
|
|
|
|
xmlrpc_cgi_add_method_w_doc(const char * const method_name,
|
|
|
|
xmlrpc_method const method,
|
|
|
|
void * const user_data,
|
|
|
|
const char * const signature,
|
|
|
|
const char * const help);
|
2012-10-13 11:37:25 -05:00
|
|
|
XMLRPC_DLLEXPORT
|
2006-12-21 03:57:49 +00:00
|
|
|
extern void
|
|
|
|
xmlrpc_cgi_process_call (void);
|
|
|
|
|
2012-10-13 11:37:25 -05:00
|
|
|
XMLRPC_DLLEXPORT
|
2006-12-21 03:57:49 +00:00
|
|
|
extern void
|
|
|
|
xmlrpc_cgi_cleanup (void);
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
|
|
|
#endif
|