Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
utils.c File Reference

API cghdr.h. More...

#include <cgraph/cghdr.h>
#include <stdlib.h>
Include dependency graph for utils.c:

Go to the source code of this file.

Functions

Dict_tagdtopen (Agraph_t *g, Dtdisc_t *disc, Dtmethod_t *method)
 
int agdtdelete (Agraph_t *g, Dict_t *dict, void *obj)
 
int agdtclose (Agraph_t *g, Dict_t *dict)
 
void agdtdisc (Agraph_t *g, Dict_t *dict, Dtdisc_t *disc)
 

Variables

static Agraph_tAg_dictop_G
 

Function Documentation

◆ agdtclose()

int agdtclose ( Agraph_t g,
Dict_t dict 
)

Definition at line 32 of file utils.c.

References Ag_dictop_G, dtclose(), dtdisc(), and NULL.

Referenced by agclose(), agraphattr_delete(), and agstrclose().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ agdtdelete()

int agdtdelete ( Agraph_t g,
Dict_t dict,
void *  obj 
)

Definition at line 26 of file utils.c.

References Ag_dictop_G, dtdelete, and NULL.

Referenced by agstrfree().

Here is the caller graph for this function:

◆ agdtdisc()

void agdtdisc ( Agraph_t g,
Dict_t dict,
Dtdisc_t disc 
)

Definition at line 42 of file utils.c.

References disc, dtdisc(), and NULL.

Referenced by agfindsubg_by_id().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ agdtopen()

Dict_t * agdtopen ( Agraph_t g,
Dtdisc_t disc,
Dtmethod_t method 
)

Definition at line 21 of file utils.c.

References disc, and dtopen().

Referenced by aginternalmapinsert(), agmakedatadict(), agopen1(), and refdict().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ Ag_dictop_G

Agraph_t* Ag_dictop_G
static

Definition at line 19 of file utils.c.

Referenced by agdtclose(), and agdtdelete().