Graphviz 12.0.1~dev.20240715.2254
Loading...
Searching...
No Matches
utils.c File Reference

API cghdr.h. More...

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

Go to the source code of this file.

Functions

void agdictobjfree (void *p)
 
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

◆ agdictobjfree()

void agdictobjfree ( void *  p)

Definition at line 21 of file utils.c.

References Ag_dictop_G, agfree(), and free().

Here is the call graph for this function:

◆ agdtclose()

int agdtclose ( Agraph_t g,
Dict_t dict 
)

Definition at line 45 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 39 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 55 of file utils.c.

References 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 29 of file utils.c.

References Ag_dictop_G, dtopen(), and NULL.

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 agdictobjfree(), agdtclose(), agdtdelete(), and agdtopen().