Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches

disciplines for external resources needed by libgraph More...

Collaboration diagram for disciplines:

Data Structures

struct  Agiddisc_s
 object ID allocator discipline More...
 
struct  Agiodisc_s
 IO services. More...
 
struct  Agdisc_s
 user's discipline More...
 

Typedefs

typedef struct Agiddisc_s Agiddisc_t
 object ID allocator
 
typedef struct Agiodisc_s Agiodisc_t
 IO services.
 
typedef struct Agdisc_s Agdisc_t
 union of client discipline methods
 

Variables

Agiddisc_t AgIdDisc
 
Agiodisc_t AgIoDisc
 
Agdisc_t AgDefaultDisc
 

Detailed Description

(This section is not intended for casual users.)

Programmer-defined disciplines customize certain resources: ID namespace, memory, and I/O - needed by Libcgraph. A discipline struct (or NULL) is passed at graph creation time.

Typedef Documentation

◆ Agdisc_t

typedef struct Agdisc_s Agdisc_t

Definition at line 98 of file cgraph.h.

◆ Agiddisc_t

typedef struct Agiddisc_s Agiddisc_t

Definition at line 96 of file cgraph.h.

◆ Agiodisc_t

typedef struct Agiodisc_s Agiodisc_t

Definition at line 97 of file cgraph.h.

Variable Documentation

◆ AgDefaultDisc

Agdisc_t AgDefaultDisc
extern

Definition at line 289 of file graph.c.

Referenced by agconcat(), and cloneGraph().

◆ AgIdDisc

Agiddisc_t AgIdDisc
extern

Definition at line 100 of file id.c.

Referenced by agclos(), agmemread0(), is_anonymous(), openG(), and readG().

◆ AgIoDisc

Agiodisc_t AgIoDisc
extern

Definition at line 39 of file io.c.

Referenced by agclos(), agmemread0(), dot_end_graph(), json_end_graph(), and Tcldot_Init().