Graphviz  2.41.20171026.1811
Functions | Variables
id.c File Reference
#include <stdio.h>
#include <cghdr.h>
Include dependency graph for id.c:

Go to the source code of this file.

Functions

int agmapnametoid (Agraph_t *g, int objtype, char *str, IDTYPE *result, int createflag)
 
int agallocid (Agraph_t *g, int objtype, IDTYPE request)
 
void agfreeid (Agraph_t *g, int objtype, IDTYPE id)
 
char * agnameof (void *obj)
 
void agregister (Agraph_t *g, int objtype, void *obj)
 

Variables

Agiddisc_t AgIdDisc
 

Function Documentation

int agallocid ( Agraph_t g,
int  objtype,
IDTYPE  request 
)

Definition at line 126 of file id.c.

References AGCLOS, and AGDISC.

Referenced by agidedge(), agidnode(), and agidsubg().

void agfreeid ( Agraph_t g,
int  objtype,
IDTYPE  id 
)

Definition at line 131 of file id.c.

References AGCLOS, AGDISC, and aginternalmapdelete().

Referenced by agclose(), agdeledge(), agdelnode(), agrelabel_node(), and agrename().

int agmapnametoid ( Agraph_t g,
int  objtype,
char *  str,
IDTYPE result,
int  createflag 
)
char* agnameof ( void *  obj)
void agregister ( Agraph_t g,
int  objtype,
void *  obj 
)

Definition at line 169 of file id.c.

References AGCLOS, and AGDISC.

Referenced by agedge(), agnode(), agopen(), and agsubg().

Variable Documentation

Agiddisc_t AgIdDisc
Initial value:
= {
idopen,
idmap,
idalloc,
idfree,
idprint,
idclose,
idregister
}

Definition at line 84 of file id.c.