|
Libical API Documentation 4.0 UNRELEASED Go to the stable 3.0 documentation
|
Error handling for libical. More...
Go to the source code of this file.
Functions | |
| void | icalerror_backtrace (void) |
| Prints backtrace. | |
| void | icalerror_clear_errno (void) |
| Resets icalerrno to ICAL_NO_ERROR. | |
| bool | icalerror_get_errors_are_fatal (void) |
| Determine if errors are fatal. | |
| icalerrorenum * | icalerror_icalerrno (void) |
| Returns the current icalerrno value. | |
| void | icalerror_set_errno (icalerrorenum x) |
| Sets the icalerrno to a given error. | |
| void | icalerror_set_errors_are_fatal (bool fatal) |
| Change if errors are fatal. | |
Error handling for libical.
Definition in file icalerror.c.
| void icalerror_backtrace | ( | void | ) |
Prints backtrace.
Definition at line 101 of file icalerror.c.
| void icalerror_clear_errno | ( | void | ) |
Resets icalerrno to ICAL_NO_ERROR.
Definition at line 85 of file icalerror.c.
| bool icalerror_get_errors_are_fatal | ( | void | ) |
Determine if errors are fatal.
Definition at line 36 of file icalerror.c.
| icalerrorenum * icalerror_icalerrno | ( | void | ) |
Returns the current icalerrno value.
Yields a pointer to the current icalerrno value. This can be used to access (read from and write to) it.
Definition at line 58 of file icalerror.c.
| void icalerror_set_errno | ( | icalerrorenum | x | ) |
Sets the icalerrno to a given error.
| x | The error to set icalerrno to |
Sets icalerrno to the error given in x. Additionally, if the error is an ICAL_ERROR_FATAL or if it's an ICAL_ERROR_DEFAULT and icalerror_get_errors_are_fatal() is true, it prints a warning to stderr and aborts the process.
Definition at line 90 of file icalerror.c.
| void icalerror_set_errors_are_fatal | ( | bool | fatal | ) |
Change if errors are fatal.
| fatal | If true, libical aborts after a call to icalerror_set_error() |
Definition at line 31 of file icalerror.c.