fred-mod-eppd-2.15.0
Macros
Error codes which signal the cause of an error and

macros which make working with error values easier. More...

Macros

#define XERR_OK   0
 OK status. More...
 
#define XERR_LIBXML   1
 Error in function from libxml library. More...
 
#define XERR_ALLOC   2
 Memory allocation failed. More...
 
#define XERR_CONSTR   3
 Constraints given by caller were not fulfilled. More...
 
#define CHK_XERR(_var, _label)   if ((_var) != XERR_OK) goto _label
 Macro checks given variable for an error, if the variable has error status, a flow of a program is redirected to given label.
 
#define RESET_XERR(_var)   ((_var) = XERR_OK)
 Macro checks given variable for an error, if the variable has error status, a flow of a program is redirected to given label.
 

Detailed Description

macros which make working with error values easier.

Macro Definition Documentation

#define XERR_ALLOC   2

Memory allocation failed.

Referenced by xpath_getn().

#define XERR_CONSTR   3
#define XERR_LIBXML   1
#define XERR_OK   0