Lines Matching refs:sm
2386 server_method* sm = Q_Head(&server->methodlist); in XMLRPC_ServerDestroy() local
2391 while( sm ) { in XMLRPC_ServerDestroy()
2392 my_free(sm->name); in XMLRPC_ServerDestroy()
2393 if(sm->desc) { in XMLRPC_ServerDestroy()
2394 XMLRPC_CleanupValue(sm->desc); in XMLRPC_ServerDestroy()
2396 my_free(sm); in XMLRPC_ServerDestroy()
2397 sm = Q_Next(&server->methodlist); in XMLRPC_ServerDestroy()
2437 server_method* sm = emalloc(sizeof(server_method)); in XMLRPC_ServerRegisterMethod() local
2439 if(sm) { in XMLRPC_ServerRegisterMethod()
2440 sm->name = estrdup(name); in XMLRPC_ServerRegisterMethod()
2441 sm->method = cb; in XMLRPC_ServerRegisterMethod()
2442 sm->desc = NULL; in XMLRPC_ServerRegisterMethod()
2444 return Q_PushTail(&server->methodlist, sm); in XMLRPC_ServerRegisterMethod()
2453 server_method* sm; in find_method() local
2458 sm = Q_Iter_Get_F(qi); in find_method()
2459 if(sm && !strcmp(sm->name, name)) { in find_method()
2460 return sm; in find_method()
2524 server_method* sm = Q_Iter_Get_F(qi); in XMLRPC_ServerFindMethod() local
2525 if(sm && !strcmp(sm->name, callName)) { in XMLRPC_ServerFindMethod()
2526 return sm->method; in XMLRPC_ServerFindMethod()