#include <stdarg.h>
#include <errno.h>
Go to the source code of this file.
|
void | setTraceLevel (int) |
|
void | setErrorLine (int) |
|
void | setErrorFileLine (char *, int) |
|
void | setErrorId (char *) |
|
void | setErrorErrors (int) |
|
int | getErrorErrors (void) |
|
void | error (int, const char *,...) |
|
void | errorf (void *, void *, int, const char *,...) |
|
void | errorv (const char *, int, const char *, va_list) |
|
◆ ERROR_ERROR
#define ERROR_ERROR 2 /* error message -- no err_exit */ |
◆ ERROR_FATAL
#define ERROR_FATAL 3 /* error message with err_exit */ |
◆ ERROR_INFO
#define ERROR_INFO 0 /* info message -- no err_id */ |
◆ ERROR_LEVEL
#define ERROR_LEVEL 0x00ff /* level portion of status */ |
◆ ERROR_PANIC
#define ERROR_PANIC ERROR_LEVEL /* panic message with err_exit */ |
◆ ERROR_SYSTEM
#define ERROR_SYSTEM 0x0100 /* report system errno message */ |
◆ ERROR_USAGE
#define ERROR_USAGE 0x0800 /* usage message */ |
◆ ERROR_WARNING
#define ERROR_WARNING 1 /* warning message */ |
◆ PRINTF_LIKE
#define PRINTF_LIKE |
( |
|
index, |
|
|
|
first |
|
) |
| /* nothing */ |
◆ Error_info_t
◆ error()
void error |
( |
int |
level, |
|
|
const char * |
s, |
|
|
|
... |
|
) |
| |
|
extern |
◆ errorf()
void errorf |
( |
void * |
handle, |
|
|
void * |
discipline, |
|
|
int |
level, |
|
|
const char * |
s, |
|
|
|
... |
|
) |
| |
|
extern |
◆ errorv()
void errorv |
( |
const char * |
id, |
|
|
int |
level, |
|
|
const char * |
s, |
|
|
va_list |
ap |
|
) |
| |
|
extern |
Definition at line 35 of file error.c.
References ERROR_FATAL, error_info, ERROR_LEVEL, ERROR_PANIC, ERROR_SYSTEM, ERROR_USAGE, ERROR_WARNING, Error_info_s::errors, Error_info_s::file, flags, graphviz_exit(), Error_info_s::id, Error_info_s::indent, Error_info_s::line, prefix, Error_info_s::trace, and Error_info_s::warnings.
Referenced by error(), errorf(), and gverrorf().
◆ getErrorErrors()
int getErrorErrors |
( |
void |
| ) |
|
|
extern |
◆ setErrorErrors()
void setErrorErrors |
( |
int |
errors | ) |
|
|
extern |
◆ setErrorFileLine()
void setErrorFileLine |
( |
char * |
src, |
|
|
int |
line |
|
) |
| |
|
extern |
◆ setErrorId()
void setErrorId |
( |
char * |
id | ) |
|
|
extern |
◆ setErrorLine()
void setErrorLine |
( |
int |
line | ) |
|
|
extern |
◆ setTraceLevel()
void setTraceLevel |
( |
int |
i | ) |
|
|
extern |
◆ error_info