31 lines
876 B
C
31 lines
876 B
C
#ifndef CLIENT_H
|
|
#define CLIENT_H
|
|
|
|
#define CMD_GET_METRICS 0x00
|
|
#define CMD_GET_BUFFER_SIZE 0x01
|
|
#define CMD_SET_BUFFER_SIZE 0x02
|
|
#define CMD_GET_TIMEOUT 0x03
|
|
#define CMD_SET_TIMEOUT 0x04
|
|
#define CMD_GET_USER_PAGES 0x05
|
|
#define CMD_LIST_USERS 0x06
|
|
#define CMD_GET_USER_LAST_CONNECTION 0x07
|
|
#define CMD_MODIFY_USERNAME 0x08
|
|
#define CMD_MODIFY_PASSWORD 0x09
|
|
#define CMD_ADD_USER 0x0A
|
|
#define CMD_DELETE_USER 0x00B
|
|
#define CMD_GET_PASSWORD_DISSECTOR_STATUS 0x0C
|
|
#define CMD_MODIFY_PASSWORD_DISSECTOR_STATUS 0x0D
|
|
#define CMD_GET_AUTHENTICATION_STATUS 0x0E
|
|
#define CMD_MODIFY_AUTHENTICATION_STATUS 0x0F
|
|
#define CMD_GET_PROXY_SERVER_STATUS 0x10
|
|
#define CMD_CHANGE_PROXY_SERVER_STATUS 0x11
|
|
#define CMD_RESTART_PROXY_SERVER 0x12
|
|
|
|
|
|
#define RESPONSE_OK 0x00
|
|
#define RESPONSE_INVALID_TOKEN 0xB0
|
|
#define RESPONSE_VERSION_NOT_SUPPORTED 0xD0
|
|
#define RESPONSE_CMD_NOT_SUPPORTED 0xFF
|
|
|
|
#endif
|