Server class. More...
Public Member Functions | |
| int | MyFunction1 (ngcb_cmd_handle_t *h, char *reply) |
| int | MyFunction2 (ngcb_cmd_handle_t *h, char *reply) |
| int | MyFunction3 (ngcb_cmd_handle_t *h, char *reply) |
| int | MyFunction4 (ngcb_cmd_handle_t *h, char *reply) |
| int | ExitFunction (ngcb_cmd_handle_t *h, char *reply) |
| int | MyHelp (ngcb_cmd_handle_t *h, char *reply) |
| void | Test () |
| mySRV & | operator= (const mySRV &other) |
| Operator =. | |
| mySRV (const mySRV &other) | |
| Copy constructor. | |
| mySRV () | |
| ~mySRV () | |
Public Member Functions inherited from ngcbCMD_SRV | |
| ngcbCMD_SRV () | |
| Constructor. | |
| virtual | ~ngcbCMD_SRV () |
| Destructor. | |
| void | AssignPassword (const char *fileName) |
| Assign password from file. | |
| const char * | PW () |
| Return password. | |
| int | LogIn (const char *s) |
| Login to trusted mode with a key in the format "name:password". | |
| void | LogOut () |
| Log out. | |
| int | LoggedIn () |
| Return login status. | |
| void | Lock () |
| Lock command system. | |
| void | Unlock () |
| Unlock command system. | |
| int | Locked () |
| Return locked status. | |
| void | Encrypt (char *s, const char *key=NULL) |
| Encrypt string with key. | |
Public Attributes | |
| ngcbCMD_LIST * | list |
| int | active |
Additional Inherited Members | |
Protected Member Functions inherited from ngcbCMD_SRV | |
| int | KeyVal (const char *key, float *value) |
| Get single precision floating point value from keyword string. | |
| int | KeyVal (const char *key, double *value) |
| Get double precision floating point value from keyword string. | |
| int | KeyVal (const char *key, int *value) |
| Get 32-bit signed integer value from decimal keyword string. | |
| int | KeyVal (const char *key, unsigned int *value) |
| Get 32-bit unsigned integer value from decimal keyword string. | |
| int | KeyValHex (const char *key, int *value) |
| Get 32-bit signed integer value from hexadecimal keyword string. | |
| int | KeyValHex (const char *key, unsigned int *value) |
| Get 32-bit unsigned integer value from hexadecimal keyword string. | |
| int | KeyValFmt (const char *key, int *value) |
| Get 32-bit signed integer value from string. | |
| int | KeyValFmt (const char *key, unsigned int *value) |
| Get 32-bit unsigned integer value from string. | |
| int | KeyValFrac (const char *key, unsigned int n, uint64_t *v1, uint64_t *v2) |
| Fraction after n digits. | |
| int | KeyIdx (char *key, const char *mask) |
| Get the index after the first occurrence of mask in the keyword. | |
| void | DiscardDetIdx (char *key) |
| Discard DETi index. | |
| void | StringReset (char *s, size_t size=256) |
| Fill string with zeros. | |
Server class.
|
inline |
Copy constructor.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| int mySRV::active |
| ngcbCMD_LIST* mySRV::list |