]> 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 6f454bc365d72d7788065f61018611116dc62a7b..98add644df8f68087e7db39b231b6d9ab5b12af0 100644 (file)
@@ -41,6 +41,7 @@
 struct ADMIN_CONF;
 struct TARIFF_DATA;
 struct SERVICE_CONF;
+struct CORP_CONF;
 
 namespace STG
 {
@@ -207,6 +208,22 @@ typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO &
 
 }
 
+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