#include <vector>
#include <ctime>
-#define STG_HEADER "SG04"
-#define OK_HEADER "OKHD"
-#define ERR_HEADER "ERHD"
-#define OK_LOGIN "OKLG"
-#define ERR_LOGIN "ERLG"
-#define OK_LOGINS "OKLS"
-#define ERR_LOGINS "ERLS"
-
-#define ENC_MSG_LEN (8)
-
struct ADMIN_CONF;
struct TARIFF_DATA;
struct SERVICE_CONF;
st_data_error
};
-enum CONF_STATE
-{
-confHdr = 0,
-confLogin,
-confLoginCipher,
-confData
-};
-
namespace SIMPLE
{
typedef void (* TYPE)(bool result, const std::string & reason, const std::vector<INFO> & info, void * data);
};
-}
+} // namespace GET_CONTAINER
namespace AUTH_BY
{
typedef void (* CALLBACK)(bool result, const std::string & reason, const std::string & response, void * data);
-}
+} // namespace RAW_XML
namespace GET_USER
{
typedef ADMIN_CONF INFO;
typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO & info, void * data);
-}
+} // namespace GET_ADMIN
namespace GET_TARIFF
{
typedef TARIFF_DATA INFO;
typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO & info, void * data);
-}
+} // namespace GET_TARIFF
namespace GET_SERVICE
{
typedef SERVICE_CONF INFO;
typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO & info, void * data);
-}
+} // namespace GET_SERVICE
namespace GET_CORP
{
typedef CORP_CONF INFO;
typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO & info, void * data);
-}
+} // namespace GET_CORP
} // namespace STG