Graphviz 13.1.0~dev.20250626.0830
Loading...
Searching...
No Matches
agstrcanon.h File Reference

Helpers for dealing with agstrcanon More...

#include <stddef.h>
#include <string.h>
#include <util/alloc.h>
Include dependency graph for agstrcanon.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static size_t agstrcanon_bytes (const char *str)
 how many bytes are needed to canonicalize the given string
 
static char * agstrcanon_buffer (const char *str)
 get a buffer suitable for passing into agstrcanon
 

Function Documentation

◆ agstrcanon_buffer()

static char * agstrcanon_buffer ( const char *  str)
inlinestatic

Definition at line 16 of file agstrcanon.h.

References agstrcanon_bytes(), gv_alloc(), and str.

Referenced by write_plain(), and writenodeandport().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ agstrcanon_bytes()

static size_t agstrcanon_bytes ( const char *  str)
inlinestatic

Definition at line 11 of file agstrcanon.h.

References str.

Referenced by _write_canonstr(), agstrcanon_buffer(), canon(), and getoutputbuffer().

Here is the caller graph for this function: