Graphviz 12.0.1~dev.20240716.0800
|
#include <stdarg.h>
#include <errno.h>
Go to the source code of this file.
Data Structures | |
struct | Error_info_s |
Macros | |
#define | ERROR_INFO 0 /* info message -- no err_id */ |
#define | ERROR_WARNING 1 /* warning message */ |
#define | ERROR_ERROR 2 /* error message -- no err_exit */ |
#define | ERROR_FATAL 3 /* error message with err_exit */ |
#define | ERROR_PANIC ERROR_LEVEL /* panic message with err_exit */ |
#define | ERROR_LEVEL 0x00ff /* level portion of status */ |
#define | ERROR_SYSTEM 0x0100 /* report system errno message */ |
#define | ERROR_USAGE 0x0800 /* usage message */ |
#define | PRINTF_LIKE(index, first) /* nothing */ |
Typedefs | |
typedef struct Error_info_s | Error_info_t |
Functions | |
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) |
Variables | |
Error_info_t | error_info |
#define ERROR_PANIC ERROR_LEVEL /* panic message with err_exit */ |
#define ERROR_SYSTEM 0x0100 /* report system errno message */ |
typedef struct Error_info_s Error_info_t |
|
extern |
Definition at line 83 of file error.c.
References errorv(), and NULL.
Referenced by addCase(), bindAction(), checkGuard(), compileProg(), deleteObj(), doFlags(), endString(), feasible_tree(), findBinding(), getDfltAttr(), getOptarg(), gettok(), getval(), gml_to_gv(), gml_to_gv(), grpmatch(), initDisc(), lockGraph(), lookup(), onematch(), openGPRState(), openOut(), pango_textlayout(), parseArgs(), parseBracket(), parseKind(), parseOp(), parseProg(), parseXDotFOn(), resolve(), sameG(), scanArgs(), setDfltAttr(), setval(), strgrpmatch(), SWIG_Python_TypeErrorOccurred(), tclGdTextCmd(), and xargs().
|
extern |
Definition at line 92 of file error.c.
References errorv().
Referenced by initDisc().
|
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().
|
extern |
Definition at line 32 of file error.c.
References error_info, and Error_info_s::errors.
Referenced by compile(), compileProg(), mkBlock(), mkStmts(), parseBracket(), parseCase(), and parseProg().
|
extern |
Definition at line 31 of file error.c.
References error_info, errors, and Error_info_s::errors.
Referenced by gvpr_core().
|
extern |
Definition at line 26 of file error.c.
References error_info, Error_info_s::file, and Error_info_s::line.
Referenced by checkGuard().
|
extern |
Definition at line 30 of file error.c.
References error_info, id, and Error_info_s::id.
Referenced by scanArgs().
|
extern |
Definition at line 25 of file error.c.
References error_info, and Error_info_s::line.
Referenced by compileProg().
|
extern |
Definition at line 33 of file error.c.
References error_info, and Error_info_s::trace.
Referenced by doFlags().
|
extern |
Definition at line 23 of file error.c.
Referenced by errorv(), extoken_fn(), getErrorErrors(), grpmatch(), onematch(), setErrorErrors(), setErrorFileLine(), setErrorId(), setErrorLine(), and setTraceLevel().