Lines Matching refs:server
67 static XMLRPC_VALUE xi_system_describe_methods_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void*…
68 static XMLRPC_VALUE xi_system_list_methods_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* use…
69 static XMLRPC_VALUE xi_system_method_signature_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void*…
70 static XMLRPC_VALUE xi_system_method_help_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* user…
94 static void check_docs_loaded(XMLRPC_SERVER server, void* userData) { in check_docs_loaded() argument
95 if(server) { in check_docs_loaded()
96 q_iter qi = Q_Iter_Head_F(&server->docslist); in check_docs_loaded()
100 dm->method(server, userData); in check_docs_loaded()
110 static inline void describe_method(XMLRPC_SERVER server, XMLRPC_VALUE vector, const char* method) { in describe_method() argument
112 server_method* sm = find_method(server, method); in describe_method()
122 static XMLRPC_VALUE xi_system_describe_methods_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void*… in xi_system_describe_methods_cb() argument
130 check_docs_loaded(server, userData); in xi_system_describe_methods_cb()
132 xTypeList = XMLRPC_VectorGetValueWithID(server->xIntrospection, "typeList"); in xi_system_describe_methods_cb()
143 describe_method(server, xMethodList, XMLRPC_GetValueString(xParams)); in xi_system_describe_methods_cb()
150 describe_method(server, xMethodList, XMLRPC_GetValueString(xIter)); in xi_system_describe_methods_cb()
159 q_iter qi = Q_Iter_Head_F(&server->methodlist); in xi_system_describe_methods_cb()
173 static XMLRPC_VALUE xi_system_list_methods_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* use… in xi_system_list_methods_cb() argument
176 q_iter qi = Q_Iter_Head_F(&server->methodlist); in xi_system_list_methods_cb()
190 static XMLRPC_VALUE xi_system_method_signature_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void*… in xi_system_method_signature_cb() argument
195 check_docs_loaded(server, userData); in xi_system_method_signature_cb()
198 server_method* sm = find_method(server, method); in xi_system_method_signature_cb()
249 static XMLRPC_VALUE xi_system_method_help_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* user… in xi_system_method_help_cb() argument
254 check_docs_loaded(server, userData); in xi_system_method_help_cb()
257 server_method* sm = find_method(server, method); in xi_system_method_help_cb()
279 void xi_register_system_methods(XMLRPC_SERVER server) { in xi_register_system_methods() argument
280 XMLRPC_ServerRegisterMethod(server, xi_token_system_list_methods, xi_system_list_methods_cb); in xi_register_system_methods()
281 XMLRPC_ServerRegisterMethod(server, xi_token_system_method_help, xi_system_method_help_cb); in xi_register_system_methods()
282 …XMLRPC_ServerRegisterMethod(server, xi_token_system_method_signature, xi_system_method_signature_c… in xi_register_system_methods()
283 …XMLRPC_ServerRegisterMethod(server, xi_token_system_describe_methods, xi_system_describe_methods_c… in xi_register_system_methods()
500 int XMLRPC_ServerAddIntrospectionData(XMLRPC_SERVER server, XMLRPC_VALUE desc) { in XMLRPC_ServerAddIntrospectionData() argument
502 if(server && desc) { in XMLRPC_ServerAddIntrospectionData()
505 XMLRPC_VALUE xServerTypes = XMLRPC_VectorGetValueWithID(server->xIntrospection, "typeList"); in XMLRPC_ServerAddIntrospectionData()
512 server_method* sm = find_method(server, name); in XMLRPC_ServerAddIntrospectionData()
527 if(!server->xIntrospection) { in XMLRPC_ServerAddIntrospectionData()
528 server->xIntrospection = XMLRPC_CreateVector(NULL, xmlrpc_vector_struct); in XMLRPC_ServerAddIntrospectionData()
531 XMLRPC_AddValueToVector(server->xIntrospection, xNewTypes); in XMLRPC_ServerAddIntrospectionData()
577 int XMLRPC_ServerRegisterIntrospectionCallback(XMLRPC_SERVER server, XMLRPC_IntrospectionCallback c… in XMLRPC_ServerRegisterIntrospectionCallback() argument
579 if(server && cb) { in XMLRPC_ServerRegisterIntrospectionCallback()
587 if(Q_PushTail(&server->docslist, dm)) { in XMLRPC_ServerRegisterIntrospectionCallback()