]> git.stg.codes - stg.git/blobdiff - stglibs/srvconf.lib/include/stg/servconf_types.h
Added tariff parsers/serializers.
[stg.git] / stglibs / srvconf.lib / include / stg / servconf_types.h
index 86df8e959395458dc1eec7cbb0354e1cf886e44d..4c0e59273b57c9cac236041c1be01044e03f04a5 100644 (file)
@@ -39,6 +39,7 @@
 #define  ENC_MSG_LEN    (8)
 
 struct ADMIN_CONF;
+struct TARIFF_DATA;
 
 namespace STG
 {
@@ -173,6 +174,22 @@ typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO &
 
 }
 
+namespace GET_TARIFF
+{
+
+typedef TARIFF_DATA INFO;
+typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO & info, void * data);
+
+}
+
+namespace GET_TARIFFS
+{
+
+typedef std::vector<GET_TARIFF::INFO> INFO;
+typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO & info, void * data);
+
+}
+
 } // namespace STG
 
 #endif