#include <string>
#include <vector>
+#include <ctime>
#define STG_HEADER "SG04"
#define OK_HEADER "OKHD"
#define ENC_MSG_LEN (8)
+struct ADMIN_CONF;
+
namespace STG
{
confData
};
+namespace SIMPLE
+{
+
+typedef void (* CALLBACK)(bool result, const std::string & reason, void * data);
+
+} // namespace SIMPLE
+
namespace AUTH_BY
{
} // namespace SERVER_INFO
-namespace CHECK_USER
+namespace RAW_XML
{
-typedef int (* CALLBACK)(bool result, const std::string & reason, void * data);
+typedef void (* CALLBACK)(bool result, const std::string & reason, const std::string & response, void * data);
-} // namespace CHECK_USER
+}
namespace GET_USER
{
} // namespace GET_USERS
+namespace GET_ADMIN
+{
+
+typedef ADMIN_CONF INFO;
+typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO & info, void * data);
+
+}
+
+namespace GET_ADMINS
+{
+
+typedef std::vector<GET_ADMIN::INFO> INFO;
+typedef void (* CALLBACK)(bool result, const std::string & reason, const INFO & info, void * data);
+
+}
+
} // namespace STG
#endif