Graphviz 13.1.2~dev.20250723.2326
|
XML escaping functionality. More...
#include <util/api.h>
Go to the source code of this file.
Data Structures | |
struct | xml_flags_t |
options to tweak the behavior of XML escaping More... | |
Functions | |
UTIL_API int | gv_xml_escape (const char *s, xml_flags_t flags, int(*cb)(void *state, const char *s), void *state) |
UTIL_API int gv_xml_escape | ( | const char * | s, |
xml_flags_t | flags, | ||
int(*)(void *state, const char *s) | cb, | ||
void * | state | ||
) |
XML-escape a string
s | Source string to process. |
flags | Options of how to configure escaping. |
cb | An fputs analogue for emitting escaped output. |
state | Caller-defined data to pass to cb . |
cb
returns or the last return value of cb
. Definition at line 181 of file xml.c.
References flags, and xml_core().
Referenced by EmbedText(), gvputs_xml(), pango_textlayout(), svg_begin_anchor(), svg_textspan(), xml_puts(), xml_puts(), xml_url_puts(), and xml_url_puts().