1 #ifndef REGISTRY_H_INCLUDED
2 #define REGISTRY_H_INCLUDED
5 #include "xmlrpc-c/base.h"
6 #include "xmlrpc-c/server.h"
8 struct _xmlrpc_registry {
9 bool _introspection_enabled;
10 xmlrpc_value * _methods;
11 xmlrpc_value * _default_method;
12 xmlrpc_value * _preinvoke_method;
13 xmlrpc_server_shutdown_fn * _shutdown_server_fn;
14 /* Function that can be called to shut down the server that is
15 using this registry. NULL if none.
17 void * _shutdown_context;
18 /* Context for _shutdown_server_fn -- understood only by
19 that function, passed to it as argument.
24 xmlrpc_dispatchCall(struct _xmlrpc_env * const envP,
25 struct _xmlrpc_registry * const registryP,
26 const char * const methodName,
27 struct _xmlrpc_value * const paramArrayP,
28 struct _xmlrpc_value ** const resultPP);