Graphviz  2.41.20171026.1811
Functions
utils.c File Reference
#include <cghdr.h>
Include dependency graph for utils.c:

Go to the source code of this file.

Functions

void * agdictobjmem (Dict_t *dict, void *p, size_t size, Dtdisc_t *disc)
 
void agdictobjfree (Dict_t *dict, void *p, Dtdisc_t *disc)
 
Dict_tagdtopen (Agraph_t *g, Dtdisc_t *disc, Dtmethod_t *method)
 
long agdtdelete (Agraph_t *g, Dict_t *dict, void *obj)
 
int agobjfinalize (void *obj)
 
int agdtclose (Agraph_t *g, Dict_t *dict)
 
void agdtdisc (Agraph_t *g, Dict_t *dict, Dtdisc_t *disc)
 

Function Documentation

void agdictobjfree ( Dict_t dict,
void *  p,
Dtdisc_t disc 
)

Definition at line 40 of file utils.c.

References agfree(), and NOTUSED.

void* agdictobjmem ( Dict_t dict,
void *  p,
size_t  size,
Dtdisc_t disc 
)

Definition at line 19 of file utils.c.

References agalloc(), agfree(), NIL, and NOTUSED.

Referenced by agdtclose(), and agdtopen().

int agdtclose ( Agraph_t g,
Dict_t dict 
)

Definition at line 79 of file utils.c.

References agdictobjmem(), dtclose(), dtdisc(), _dtdisc_s::memoryf, and NIL.

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

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

Definition at line 67 of file utils.c.

References dtdelete.

Referenced by agstrfree().

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

Definition at line 95 of file utils.c.

References dtdisc(), and NIL.

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

Definition at line 53 of file utils.c.

References agdictobjmem(), dtopen(), _dtdisc_s::memoryf, and NIL.

Referenced by aginternalmapinsert(), and agopen1().

int agobjfinalize ( void *  obj)

Definition at line 73 of file utils.c.

References agfree().