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);
25 METHOD_ADMIN_GET(const METHOD_ADMIN_GET & rvalue);
26 METHOD_ADMIN_GET & operator=(const METHOD_ADMIN_GET & rvalue);
32 class METHOD_ADMIN_ADD : public xmlrpc_c::method {
34 METHOD_ADMIN_ADD(RPC_CONFIG * c,
41 void execute(xmlrpc_c::paramList const & paramList,
42 xmlrpc_c::value * const retvalPtr);
45 METHOD_ADMIN_ADD(const METHOD_ADMIN_ADD & rvalue);
46 METHOD_ADMIN_ADD & operator=(const METHOD_ADMIN_ADD & rvalue);
52 class METHOD_ADMIN_DEL : public xmlrpc_c::method {
54 METHOD_ADMIN_DEL(RPC_CONFIG * c,
61 void execute(xmlrpc_c::paramList const & paramList,
62 xmlrpc_c::value * const retvalPtr);
65 METHOD_ADMIN_DEL(const METHOD_ADMIN_DEL & rvalue);
66 METHOD_ADMIN_DEL & operator=(const METHOD_ADMIN_DEL & rvalue);
72 class METHOD_ADMIN_CHG : public xmlrpc_c::method {
74 METHOD_ADMIN_CHG(RPC_CONFIG * c,
81 void execute(xmlrpc_c::paramList const & paramList,
82 xmlrpc_c::value * const retvalPtr);
85 METHOD_ADMIN_CHG(const METHOD_ADMIN_CHG & rvalue);
86 METHOD_ADMIN_CHG & operator=(const METHOD_ADMIN_CHG & rvalue);
92 class METHOD_ADMINS_GET : public xmlrpc_c::method {
94 METHOD_ADMINS_GET(RPC_CONFIG * c,
101 void execute(xmlrpc_c::paramList const & paramList,
102 xmlrpc_c::value * const retvalPtr);
105 METHOD_ADMINS_GET(const METHOD_ADMINS_GET & rvalue);
106 METHOD_ADMINS_GET & operator=(const METHOD_ADMINS_GET & rvalue);