|
|
@ -32,6 +32,7 @@ namespace client |
|
|
|
const char BOB_COMMAND_INPORT[] = "inport"; |
|
|
|
const char BOB_COMMAND_INPORT[] = "inport"; |
|
|
|
const char BOB_COMMAND_QUIET[] = "quiet"; |
|
|
|
const char BOB_COMMAND_QUIET[] = "quiet"; |
|
|
|
const char BOB_COMMAND_LOOKUP[] = "lookup"; |
|
|
|
const char BOB_COMMAND_LOOKUP[] = "lookup"; |
|
|
|
|
|
|
|
const char BOB_COMMAND_CLEAR[] = "clear"; |
|
|
|
|
|
|
|
|
|
|
|
const char BOB_VERSION[] = "BOB 00.00.10\nOK\n"; |
|
|
|
const char BOB_VERSION[] = "BOB 00.00.10\nOK\n"; |
|
|
|
const char BOB_REPLY_OK[] = "OK %s\n"; |
|
|
|
const char BOB_REPLY_OK[] = "OK %s\n"; |
|
|
@ -121,6 +122,7 @@ namespace client |
|
|
|
void InportCommandHandler (const char * operand, size_t len); |
|
|
|
void InportCommandHandler (const char * operand, size_t len); |
|
|
|
void QuietCommandHandler (const char * operand, size_t len); |
|
|
|
void QuietCommandHandler (const char * operand, size_t len); |
|
|
|
void LookupCommandHandler (const char * operand, size_t len); |
|
|
|
void LookupCommandHandler (const char * operand, size_t len); |
|
|
|
|
|
|
|
void ClearCommandHandler (const char * operand, size_t len); |
|
|
|
|
|
|
|
|
|
|
|
private: |
|
|
|
private: |
|
|
|
|
|
|
|
|
|
|
|