Graphviz  2.41.20170921.2350
Data Structures | Typedefs | Functions
refstr.c File Reference
#include <cghdr.h>
Include dependency graph for refstr.c:

Go to the source code of this file.

Data Structures

struct  refstr_t
 

Typedefs

typedef struct refstr_t refstr_t
 

Functions

int agstrclose (Agraph_t *g)
 
char * agstrbind (Agraph_t *g, char *s)
 
char * agstrdup (Agraph_t *g, char *s)
 
char * agstrdup_html (Agraph_t *g, char *s)
 
int agstrfree (Agraph_t *g, char *s)
 
int aghtmlstr (char *s)
 
void agmarkhtmlstr (char *s)
 

Typedef Documentation

typedef struct refstr_t refstr_t

Function Documentation

int aghtmlstr ( char *  s)

Definition at line 178 of file refstr.c.

References NULL, and refstr_t::refcnt.

Referenced by agcopyattr(), agstrcanon(), common_init_edge(), common_init_node(), and do_graph_label().

void agmarkhtmlstr ( char *  s)

Definition at line 188 of file refstr.c.

References NULL, and refstr_t::refcnt.

Referenced by agcopyattr().

char* agstrbind ( Agraph_t g,
char *  s 
)

Definition at line 92 of file refstr.c.

Referenced by aginternalmaplookup().

int agstrclose ( Agraph_t g)

Definition at line 69 of file refstr.c.

References agdtclose().

Referenced by agclose().

char* agstrdup ( Agraph_t g,
char *  s 
)

Definition at line 97 of file refstr.c.

References agalloc(), dtinsert, NIL, refstr_t::refcnt, refstr_t::s, and refstr_t::store.

Referenced by agbindrec(), aginternalmapinsert(), agnewsym(), agxset(), and while().

char* agstrdup_html ( Agraph_t g,
char *  s 
)

Definition at line 123 of file refstr.c.

References agalloc(), dtinsert, NIL, refstr_t::refcnt, refstr_t::s, and refstr_t::store.

int agstrfree ( Agraph_t g,
char *  s 
)

Definition at line 149 of file refstr.c.

References agdtdelete(), FAILURE, NIL, refstr_t::refcnt, refstr_t::s, and SUCCESS.

Referenced by agdelrec(), aginternalmapdelete(), agrecclose(), and agxset().