|
|
#define | ERRNO errno |
| |
| #define | LOG_RTERR(pctxt, stat) rtxErrSetData(pctxt,stat,__FILE__,__LINE__) |
| |
|
#define | LOG_RTERRNEW(pctxt, stat) rtxErrSetNewData(pctxt,stat,__FILE__,__LINE__) |
| |
|
#define | RETURN_RTERR(pctxt, stat) return LOG_RTERR(pctxt, stat) |
| |
| #define | OSRTASSERT(condition) if (!(condition)) { rtxErrAssertionFailed(#condition,__LINE__,__FILE__); } |
| |
| #define | OSRTCHECKPARAM(condition) if (condition) { /* do nothing */ } |
| |
|
#define | LOG_RTERR1(pctxt, stat, a) (a,LOG_RTERR (pctxt, stat),stat) |
| |
|
#define | LOG_RTERRNEW1(pctxt, stat, a) (a,LOG_RTERRNEW (pctxt, stat),stat) |
| |
|
#define | LOG_RTERR2(pctxt, stat, a, b) (a,b,LOG_RTERR (pctxt, stat),stat) |
| |
|
#define | LOG_RTERRNEW2(pctxt, stat, a, b) (a,b,LOG_RTERRNEW (pctxt, stat),stat) |
| |
| #define | LOG_RTERR_AND_FREE_MEM(ctxt_p, stat, mem_p) rtxMemFreePtr ((ctxt_p),(mem_p)), LOG_RTERR(ctxt_p, stat) |
| |
|
| OSBOOL | rtxErrAddCtxtBufParm (OSCTXT *pctxt) |
| |
| OSBOOL | rtxErrAddDoubleParm (OSCTXT *pctxt, double errParm) |
| |
| OSBOOL | rtxErrAddErrorTableEntry (const char *const *ppStatusText, OSINT32 minErrCode, OSINT32 maxErrCode) |
| |
| OSBOOL | rtxErrAddElemNameParm (OSCTXT *pctxt) |
| |
| OSBOOL | rtxErrAddIntParm (OSCTXT *pctxt, int errParm) |
| |
| OSBOOL | rtxErrAddInt64Parm (OSCTXT *pctxt, OSINT64 errParm) |
| |
| OSBOOL | rtxErrAddSizeParm (OSCTXT *pctxt, OSSIZE errParm) |
| |
| OSBOOL | rtxErrAddStrParm (OSCTXT *pctxt, const char *pErrParm) |
| |
| OSBOOL | rtxErrAddStrnParm (OSCTXT *pctxt, const char *pErrParm, OSSIZE nchars) |
| |
| OSBOOL | rtxErrAddUIntParm (OSCTXT *pctxt, unsigned int errParm) |
| |
| OSBOOL | rtxErrAddUInt64Parm (OSCTXT *pctxt, OSUINT64 errParm) |
| |
| void | rtxErrAssertionFailed (const char *conditionText, int lineNo, const char *fileName) |
| |
| const char * | rtxErrFmtMsg (OSRTErrInfo *pErrInfo, char *bufp, OSSIZE bufsiz) |
| |
| void | rtxErrFreeParms (OSCTXT *pctxt) |
| |
| char * | rtxErrGetText (OSCTXT *pctxt, char *pBuf, OSSIZE *pBufSize) |
| |
| char * | rtxErrGetTextBuf (OSCTXT *pctxt, char *pbuf, OSSIZE bufsiz) |
| |
| char * | rtxErrGetMsgText (OSCTXT *pctxt) |
| |
| char * | rtxErrGetMsgTextBuf (OSCTXT *pctxt, char *pbuf, OSSIZE bufsiz) |
| |
| OSRTErrInfo * | rtxErrNewNode (OSCTXT *pctxt) |
| |
| void | rtxErrInit (OSVOIDARG) |
| |
| int | rtxErrReset (OSCTXT *pctxt) |
| |
| int | rtxErrResetErrInfo (OSCTXT *pctxt) |
| |
| void | rtxErrLogUsingCB (OSCTXT *pctxt, OSErrCbFunc cb, void *cbArg_p) |
| |
| void | rtxErrPrint (OSCTXT *pctxt) |
| |
| void | rtxErrPrintElement (OSRTErrInfo *pErrInfo) |
| |
| int | rtxErrSetData (OSCTXT *pctxt, int status, const char *module, int lineno) |
| |
| int | rtxErrSetNewData (OSCTXT *pctxt, int status, const char *module, int lineno) |
| |
| void | rtxErrSetNonFatal (OSCTXT *pctxt) |
| |
| int | rtxErrCheckNonFatal (OSCTXT *pctxt) |
| |
| int | rtxErrGetFirstError (const OSCTXT *pctxt) |
| |
| int | rtxErrGetLastError (const OSCTXT *pctxt) |
| |
| OSSIZE | rtxErrGetErrorCnt (const OSCTXT *pctxt) |
| |
| int | rtxErrGetStatus (const OSCTXT *pctxt) |
| |
| int | rtxErrResetLastErrors (OSCTXT *pctxt, OSSIZE errorsToReset) |
| |
| int | rtxErrCopy (OSCTXT *pDestCtxt, const OSCTXT *pSrcCtxt) |
| |
| int | rtxErrAppend (OSCTXT *pDestCtxt, const OSCTXT *pSrcCtxt) |
| |
| int | rtxErrInvUIntOpt (OSCTXT *pctxt, OSUINT32 ident) |
| |
Error handling function and macro definitions.