Graphviz  2.29.20120524.0446
Data Structures | Typedefs | Functions
lib/graph/refstr.c File Reference
#include "libgraph.h"
#include <assert.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

char * agstrdup (char *s)
char * agstrdup_html (char *s)
void agstrfree (char *s)
int aghtmlstr (char *s)

Typedef Documentation

typedef struct refstr_t refstr_t

Function Documentation

int aghtmlstr ( char *  s)

Definition at line 143 of file refstr.c.

References NULL, offsetof, and refstr_t::refcnt.

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

char* agstrdup ( char *  s)
char* agstrdup_html ( char *  s)

Definition at line 98 of file refstr.c.

References NULL, offsetof, dtsearch, refstr_t::refcnt, malloc(), refstr_t::s, and dtinsert.

Referenced by aglex().

void agstrfree ( char *  s)

Definition at line 120 of file refstr.c.

References NULL, offsetof, dtsearch, refstr_t::refcnt, dtdelete, free(), agerr(), and AGERR.

Referenced by agattr(), agxset(), agFREEedge(), agclose(), agFREEnode(), and agparse().