Network Developers Kit API
3.76.00.05
|
Config API error-related services. More...
Macros | |
#define | CFGERROR_BADHANDLE -1 |
#define | CFGERROR_BADPARAM -2 |
#define | CFGERROR_RESOURCES -3 |
#define | CFGERROR_REFERROR -4 |
#define | CFGERROR_ALREADY -5 |
#define | CFGERROR_SERVICE -100 |
#define | CFG_MAKE_CFGERROR(x) ((x)+CFGERROR_SERVICE) |
#define | CFG_GET_SERVICE_ERROR(x) ((x)-CFGERROR_SERVICE) |
Get the original service error. More... | |
#define | CFG_IS_SERVICE_ERROR(x) ((x)<=CFGERROR_SERVICE) |
Config API error-related services.
#define CFGERROR_BADHANDLE -1 |
Invalid Cfg handle
#define CFGERROR_BADPARAM -2 |
Invalid function parameter
#define CFGERROR_RESOURCES -3 |
Memory allocation error
#define CFGERROR_REFERROR -4 |
Reference count mismatch
#define CFGERROR_ALREADY -5 |
Already in desired state
#define CFGERROR_SERVICE -100 |
First service error
#define CFG_MAKE_CFGERROR | ( | x | ) | ((x)+CFGERROR_SERVICE) |
#define CFG_GET_SERVICE_ERROR | ( | x | ) | ((x)-CFGERROR_SERVICE) |
Get the original service error.
[in] | x | CfgAddEntry() return value |
#define CFG_IS_SERVICE_ERROR | ( | x | ) | ((x)<=CFGERROR_SERVICE) |