This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Typedefs | |
typedef enum GitkErrorCode | GitkErrorCode |
gitk error codes | |
Enumerations | |
enum | GitkErrorCode { GITK_NO_ERROR = 0, GITK_ERROR_INVALID_DOCUMENT, GITK_ERROR_EMPTY_DOCUMENT, GITK_ERROR_WRONG_DOCTYPE_NAMESPACE, GITK_ERROR_WRONG_DOCTYPE_ROOTNODE } |
gitk error codes More... | |
Functions | |
GitkErrorCode | gitk_get_error_code (void) |
get the last error code | |
gchar * | gitk_get_error_str (void) |
get the last error message | |
void | gitk_libxmlxslt_error_func (void *const ctx, const char *const msg,...) |
generic error handler to intercept libxml messages | |
void | gitk_log_handler (const gchar *const log_domain, const GLogLevelFlags log_level, const gchar *const message, gpointer const user_data) |
log handler for gitk. Use g_log_set_handler(G_LOG_DOMAIN,G_LOG_LEVEL_DEBUG|G_LOG_LEVEL_MESSAGE|G_LOG_LEVEL_WARNING|G_LOG_LEVEL_ERROR, gitk_log_handler, NULL); | |
void | gitk_print_handler (const gchar *const message) |
print handler for gitk, use g_set_printerr_handler(gitk_print_handler); | |
void | gitk_set_error (const GitkErrorCode code, const gchar *const str) |
set gitk-error code and string |
Definition in file gitkerrors.h.
|
gitk error codes
Referenced by gitk_get_error_code(), and gitk_set_error(). |
|
gitk error codes
Definition at line 24 of file gitkerrors.h. |
|
generic error handler to intercept libxml messages
Definition at line 105 of file gitkerrors.c. References gitk_log. Referenced by gitk_init_xml(), and gitk_init_xsl(). |
|
set gitk-error code and string
Definition at line 42 of file gitkerrors.c. References gitk_error_code, gitk_error_str, gitk_log2, and GitkErrorCode. Referenced by gitk_dialog_new_from_parser_context(), and gitk_dialog_validate(). |