1 #ifndef __ADMINS_METHODS_H__
2 #define __ADMINS_METHODS_H__
4 #include <xmlrpc-c/base.hpp>
5 #include <xmlrpc-c/registry.hpp>
7 #include "stg/admins.h"
12 class METHOD_ADMIN_GET : public xmlrpc_c::method {
14 METHOD_ADMIN_GET(RPC_CONFIG * c,
21 void execute(xmlrpc_c::paramList const & paramList,
22 xmlrpc_c::value * const retvalPtr);
28 class METHOD_ADMIN_ADD : public xmlrpc_c::method {
30 METHOD_ADMIN_ADD(RPC_CONFIG * c,
37 void execute(xmlrpc_c::paramList const & paramList,
38 xmlrpc_c::value * const retvalPtr);
44 class METHOD_ADMIN_DEL : public xmlrpc_c::method {
46 METHOD_ADMIN_DEL(RPC_CONFIG * c,
53 void execute(xmlrpc_c::paramList const & paramList,
54 xmlrpc_c::value * const retvalPtr);
60 class METHOD_ADMIN_CHG : public xmlrpc_c::method {
62 METHOD_ADMIN_CHG(RPC_CONFIG * c,
69 void execute(xmlrpc_c::paramList const & paramList,
70 xmlrpc_c::value * const retvalPtr);
76 class METHOD_ADMINS_GET : public xmlrpc_c::method {
78 METHOD_ADMINS_GET(RPC_CONFIG * c,
85 void execute(xmlrpc_c::paramList const & paramList,
86 xmlrpc_c::value * const retvalPtr);