]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/include/stg/servconf_types.h
Added services management.
[stg.git] / stglibs / srvconf.lib / include / stg / servconf_types.h
index 4c0e59273b57c9cac236041c1be01044e03f04a5..6f454bc365d72d7788065f61018611116dc62a7b 100644 (file)
@@ -40,6 +40,7 @@
 
 struct ADMIN_CONF;
 struct TARIFF_DATA;
+struct SERVICE_CONF;
 
 namespace STG
 {
@@ -190,6 +191,22 @@ 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 STG
 
 #endif