X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/ad054ddda031f1e1f7f34942a0e5c87398d3ab6b..20d884ddac6b8cacedb2701e282efe3ff9785cbf:/projects/sgconf/admins.h diff --git a/projects/sgconf/admins.h b/projects/sgconf/admins.h new file mode 100644 index 00000000..0c28e923 --- /dev/null +++ b/projects/sgconf/admins.h @@ -0,0 +1,34 @@ +#ifndef __STG_SGCONF_ADMINS_H__ +#define __STG_SGCONF_ADMINS_H__ + +#include +#include + +namespace SGCONF +{ + +class CONFIG; + +bool GetAdminsFunction(const CONFIG & config, + const std::string & /*arg*/, + const std::map & /*options*/); + +bool GetAdminFunction(const CONFIG & config, + const std::string & arg, + const std::map & /*options*/); + +bool DelAdminFunction(const CONFIG & config, + const std::string & arg, + const std::map & /*options*/); + +bool AddAdminFunction(const CONFIG & config, + const std::string & arg, + const std::map & options); + +bool ChgAdminFunction(const CONFIG & config, + const std::string & arg, + const std::map & options); + +} // namespace SGCONF + +#endif