]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/include/stg/servconf_types.h
Added corporations management.
[stg.git] / stglibs / srvconf.lib / include / stg / servconf_types.h
index 4c0e59273b57c9cac236041c1be01044e03f04a5..98add644df8f68087e7db39b231b6d9ab5b12af0 100644 (file)
@@ -40,6 +40,8 @@
 
 struct ADMIN_CONF;
 struct TARIFF_DATA;
+struct SERVICE_CONF;
+struct CORP_CONF;
 
 namespace STG
 {
@@ -190,6 +192,38 @@ typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO &
 
 }
 
+namespace GET_SERVICE
+{
+
+typedef SERVICE_CONF INFO;
+typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO & info, void * data);
+
+}
+
+namespace GET_SERVICES
+{
+
+typedef std::vector<GET_SERVICE::INFO> INFO;
+typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO & info, void * data);
+
+}
+
+namespace GET_CORP
+{
+
+typedef CORP_CONF INFO;
+typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO & info, void * data);
+
+}
+
+namespace GET_CORPORATIONS
+{
+
+typedef std::vector<GET_CORP::INFO> INFO;
+typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO & info, void * data);
+
+}
+
 } // namespace STG
 
 #endif