]> git.stg.codes - stg.git/blobdiff - projects/sgconf/tariffs.h
Implemented some operations with tariffs.
[stg.git] / projects / sgconf / tariffs.h
diff --git a/projects/sgconf/tariffs.h b/projects/sgconf/tariffs.h
new file mode 100644 (file)
index 0000000..28f25f9
--- /dev/null
@@ -0,0 +1,34 @@
+#ifndef __STG_SGCONF_TARIFFS_H__
+#define __STG_SGCONF_TARIFFS_H__
+
+#include <string>
+#include <map>
+
+namespace SGCONF
+{
+
+class 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);
+
+bool ChgTariffFunction(const CONFIG & config,
+                       const std::string & arg,
+                       const std::map<std::string, std::string> & options);
+
+} // namespace SGCONF
+
+#endif