35 state->
tgtname = strdup(
"gvpr_result");
42 if (!(state = calloc(1,
sizeof(
Gpr_t)))) {
101 while (bp && bp->
name) {
129 for (
size_t i = 0; i <
LIST_SIZE(&state->open_graphs); ++i) {
Memory allocation wrappers that exit on failure.
static void * gv_calloc(size_t nmemb, size_t size)
abstract graph C library, Cgraph API
static int bindingcmpf(const void *key, const void *ip)
void initGPRState(Gpr_t *state)
gvprbinding * findBinding(Gpr_t *state, char *fname)
bool validTVT(long long c)
void addBindings(Gpr_t *state, gvprbinding *bindings)
Gpr_t * openGPRState(gpr_info *info)
void closeGPRState(Gpr_t *state)
int agclose(Agraph_t *g)
deletes a graph, freeing its associated storage
type-generic dynamically expanding list
#define LIST_GET(list, index)