Error checking mechanism. Purse of this mechanism is to inform user about problems that occured during executaion of library functions. Mechanism is similar to linux errno variable. When the problem raise, the information about it is stored in library buffer. This information consists of error family, and textual description. Example of usage:
syschar = oval_probe_object_eval (pctx, object);
}
◆ OSCAP_EFAMILY_NET
#define OSCAP_EFAMILY_NET 7 |
Errors from network communication.
Presumably from libcurl.
◆ oscap_err_get_full_error()
OSCAP_API char* oscap_err_get_full_error |
( |
void |
| ) |
|
Get the full description for all the errors which has occured in this thread since the last call of this function or oscap_clearerr.
This function is destructive. Subsequent call shall return NULL.
- Returns
- zero terminated string describing these errors, which shall be disposed by caller.
- Return values
-
NULL | if there are no errors. |