]> git.stg.codes - stg.git/blobdiff - projects/sgconf/tariffs.h
Beautified test output.
[stg.git] / projects / sgconf / tariffs.h
index b3cd99e0edf9a215e10a926ee9bd439c750beea8..cde906bf9e3e045c88e7a1f00fa538d703afaa30 100644 (file)
@@ -1,33 +1,13 @@
 #ifndef __STG_SGCONF_TARIFFS_H__
 #define __STG_SGCONF_TARIFFS_H__
 
-#include <string>
-#include <map>
-
 namespace SGCONF
 {
 
-struct CONFIG;
-
-bool GetTariffsFunction(const CONFIG & config,
-                        const std::string & /*arg*/,
-                        const std::map<std::string, std::string> & /*options*/);
-
-bool GetTariffFunction(const CONFIG & config,
-                       const std::string & arg,
-                       const std::map<std::string, std::string> & /*options*/);
-
-bool DelTariffFunction(const CONFIG & config,
-                       const std::string & arg,
-                       const std::map<std::string, std::string> & /*options*/);
-
-bool AddTariffFunction(const CONFIG & config,
-                       const std::string & arg,
-                       const std::map<std::string, std::string> & options);
+class OPTION_BLOCKS;
+class COMMANDS;
 
-bool ChgTariffFunction(const CONFIG & config,
-                       const std::string & arg,
-                       const std::map<std::string, std::string> & options);
+void AppendTariffsOptionBlock(COMMANDS & commands, OPTION_BLOCKS & blocks);
 
 } // namespace SGCONF