]> git.stg.codes - stg.git/blobdiff - projects/sgconf/services.h
Implemented some service and corporation management functions.
[stg.git] / projects / sgconf / services.h
diff --git a/projects/sgconf/services.h b/projects/sgconf/services.h
new file mode 100644 (file)
index 0000000..1b8b0c3
--- /dev/null
@@ -0,0 +1,34 @@
+#ifndef __STG_SGCONF_SERVICES_H__
+#define __STG_SGCONF_SERVICES_H__
+
+#include <string>
+#include <map>
+
+namespace SGCONF
+{
+
+struct CONFIG;
+
+bool GetServicesFunction(const CONFIG & config,
+                         const std::string & /*arg*/,
+                         const std::map<std::string, std::string> & /*options*/);
+
+bool GetServiceFunction(const CONFIG & config,
+                        const std::string & arg,
+                        const std::map<std::string, std::string> & /*options*/);
+
+bool DelServiceFunction(const CONFIG & config,
+                        const std::string & arg,
+                        const std::map<std::string, std::string> & /*options*/);
+
+bool AddServiceFunction(const CONFIG & config,
+                        const std::string & arg,
+                        const std::map<std::string, std::string> & options);
+
+bool ChgServiceFunction(const CONFIG & config,
+                        const std::string & arg,
+                        const std::map<std::string, std::string> & options);
+
+} // namespace SGCONF
+
+#endif