]> git.stg.codes - stg.git/blobdiff - projects/sgconf/admins.h
Ticket. The stgTime argument added in TariffChangeIsAllowed() function
[stg.git] / projects / sgconf / admins.h
index d3271724b29344772d377ce645850eb5281b320b..6bc47380976c98528afb0850462107e38ff16f64 100644 (file)
@@ -1,33 +1,13 @@
 #ifndef __STG_SGCONF_ADMINS_H__
 #define __STG_SGCONF_ADMINS_H__
 
-#include <string>
-#include <map>
-
 namespace SGCONF
 {
 
-struct CONFIG;
-
-bool GetAdminsFunction(const CONFIG & config,
-                       const std::string & /*arg*/,
-                       const std::map<std::string, std::string> & /*options*/);
-
-bool GetAdminFunction(const CONFIG & config,
-                      const std::string & arg,
-                      const std::map<std::string, std::string> & /*options*/);
-
-bool DelAdminFunction(const CONFIG & config,
-                      const std::string & arg,
-                      const std::map<std::string, std::string> & /*options*/);
-
-bool AddAdminFunction(const CONFIG & config,
-                      const std::string & arg,
-                      const std::map<std::string, std::string> & options);
+class OPTION_BLOCKS;
+class COMMANDS;
 
-bool ChgAdminFunction(const CONFIG & config,
-                      const std::string & arg,
-                      const std::map<std::string, std::string> & options);
+void AppendAdminsOptionBlock(COMMANDS & commands, OPTION_BLOCKS & blocks);
 
 } // namespace SGCONF