Graphviz 12.0.1~dev.20240716.0800
|
#include <gvpr/gprstate.h>
#include <ast/error.h>
#include <cgraph/alloc.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
Functions | |
bool | validTVT (long long c) |
void | initGPRState (Gpr_t *state) |
Gpr_t * | openGPRState (gpr_info *info) |
static int | bindingcmpf (const void *key, const void *ip) |
gvprbinding * | findBinding (Gpr_t *state, char *fname) |
void | addBindings (Gpr_t *state, gvprbinding *bindings) |
void | closeGPRState (Gpr_t *state) |
Variables | |
static int | name_used |
void addBindings | ( | Gpr_t * | state, |
gvprbinding * | bindings | ||
) |
Definition at line 91 of file gprstate.c.
References bindingcmpf(), gvprbinding::fn, gv_calloc(), gvprbinding::name, and state.
Referenced by gvpr_core().
|
static |
Definition at line 59 of file gprstate.c.
References key.
Referenced by addBindings(), and findBinding().
void closeGPRState | ( | Gpr_t * | state | ) |
gvprbinding * findBinding | ( | Gpr_t * | state, |
char * | fname | ||
) |
Definition at line 67 of file gprstate.c.
References bindingcmpf(), error(), ERROR_ERROR, fname, key, NULL, and state.
Referenced by getval().
void initGPRState | ( | Gpr_t * | state | ) |
Definition at line 30 of file gprstate.c.
References state.
Referenced by gvpr_core().
Definition at line 34 of file gprstate.c.
References error(), ERROR_ERROR, name_used, state, and TV_flat.
Referenced by gvpr_core().
bool validTVT | ( | long long | c | ) |
Definition at line 26 of file gprstate.c.
References TV_flat, and TV_prepostrev.
Referenced by convert(), and setval().
|
static |
Definition at line 24 of file gprstate.c.
Referenced by closeGPRState(), and openGPRState().