Graphviz 13.0.0~dev.20241220.2304
|
API: cgraph.h, cghdr.h. More...
#include <cgraph/cghdr.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <util/alloc.h>
Go to the source code of this file.
Data Structures | |
struct | refstr_t |
Functions | |
static Dict_t * | refdict (Agraph_t *g) |
int | agstrclose (Agraph_t *g) |
static refstr_t * | refsymbind (Dict_t *strdict, const char *s) |
static char * | refstrbind (Dict_t *strdict, const char *s) |
char * | agstrbind (Agraph_t *g, const char *s) |
static char * | agstrdup_internal (Agraph_t *g, const char *s, bool is_html) |
char * | agstrdup (Agraph_t *g, const char *s) |
returns a pointer to a reference-counted copy of the argument string, creating one if necessary | |
char * | agstrdup_html (Agraph_t *g, const char *s) |
int | agstrfree (Agraph_t *g, const char *s) |
int | aghtmlstr (const char *s) |
void | agmarkhtmlstr (char *s) |
Variables | |
static Dtdisc_t | Refstrdisc |
static Dict_t * | Refdict_default |
void agmarkhtmlstr | ( | char * | s | ) |
Definition at line 174 of file refstr.c.
References refstr_t::is_html, NULL, and store().
Referenced by agcopyattr().
int agstrclose | ( | Agraph_t * | g | ) |
Definition at line 64 of file refstr.c.
References agdtclose(), and refdict().
Referenced by agclose().
|
static |
Definition at line 101 of file refstr.c.
References dtinsert, gv_calloc(), refstr_t::is_html, malloc(), NULL, refstr_t::refcnt, refdict(), refsymbind(), refstr_t::s, and refstr_t::store.
Referenced by agstrdup(), and agstrdup_html().
Definition at line 50 of file refstr.c.
References agdtopen(), Agraph_s::clos, Dttree, NULL, Refdict_default, Refstrdisc, and Agclos_s::strdict.
Referenced by agstrbind(), agstrclose(), agstrdup_internal(), and agstrfree().
|
static |
Definition at line 86 of file refstr.c.
References NULL, refsymbind(), and refstr_t::s.
Referenced by agstrbind().
Definition at line 69 of file refstr.c.
References dtsearch, and refstr_t::s.
Referenced by agstrdup_internal(), agstrfree(), and refstrbind().