X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/84c7cad404a6073453edcb2045a57642d5744811..6c05b2e63b58b19df2f35707fa12f238a18458e7:/stglibs/srvconf.lib/include/stg/servconf_types.h diff --git a/stglibs/srvconf.lib/include/stg/servconf_types.h b/stglibs/srvconf.lib/include/stg/servconf_types.h index f46aadb5..4c0e5927 100644 --- a/stglibs/srvconf.lib/include/stg/servconf_types.h +++ b/stglibs/srvconf.lib/include/stg/servconf_types.h @@ -39,6 +39,7 @@ #define ENC_MSG_LEN (8) struct ADMIN_CONF; +struct TARIFF_DATA; namespace STG { @@ -99,6 +100,13 @@ typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO & } // namespace SERVER_INFO +namespace RAW_XML +{ + +typedef void (* CALLBACK)(bool result, const std::string & reason, const std::string & response, void * data); + +} + namespace GET_USER { @@ -166,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 INFO; +typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO & info, void * data); + +} + } // namespace STG #endif