Graphviz 13.0.0~dev.20250121.0651
Loading...
Searching...
No Matches
tcldot-id.c File Reference
#include <stdbool.h>
#include <stdint.h>
#include <util/alloc.h>
#include <util/unreachable.h>
#include "tcldot.h"
Include dependency graph for tcldot-id.c:

Go to the source code of this file.

Functions

static void * myiddisc_open (Agraph_t *g, Agdisc_t *disc)
 
static long myiddisc_map (void *state, int objtype, char *str, uint64_t *id, int createflag)
 
static void myiddisc_free (void *state, int objtype, uint64_t id)
 
static char * myiddisc_print (void *state, int objtype, uint64_t id)
 
static void myiddisc_idregister (void *state, int objtype, void *obj)
 

Variables

Agiddisc_t myiddisc
 

Function Documentation

◆ myiddisc_free()

static void myiddisc_free ( void *  state,
int  objtype,
uint64_t  id 
)
static

Definition at line 48 of file tcldot-id.c.

References agstrfree(), and gctx_t::g.

Here is the call graph for this function:

◆ myiddisc_idregister()

static void myiddisc_idregister ( void *  state,
int  objtype,
void *  obj 
)
static

Definition at line 77 of file tcldot-id.c.

References AGINEDGE, AGNODE, AGOUTEDGE, AGRAPH, edgecmd(), graphcmd(), gctx_t::ictx, ictx_t::interp, nodecmd(), NULL, obj2cmd(), and UNREACHABLE.

Here is the call graph for this function:

◆ myiddisc_map()

static long myiddisc_map ( void *  state,
int  objtype,
char *  str,
uint64_t *  id,
int  createflag 
)
static

Definition at line 27 of file tcldot-id.c.

References agstrbind(), agstrdup(), ictx_t::ctr, gctx_t::g, gctx_t::ictx, and str.

Here is the call graph for this function:

◆ myiddisc_open()

static void * myiddisc_open ( Agraph_t g,
Agdisc_t disc 
)
static

Definition at line 18 of file tcldot-id.c.

References disc, gctx_t::g, gv_alloc(), and gctx_t::ictx.

Here is the call graph for this function:

◆ myiddisc_print()

static char * myiddisc_print ( void *  state,
int  objtype,
uint64_t  id 
)
static

Definition at line 68 of file tcldot-id.c.

Variable Documentation

◆ myiddisc

Agiddisc_t myiddisc
Initial value:
= {
}
void free(void *)
static void myiddisc_free(void *state, int objtype, uint64_t id)
Definition tcldot-id.c:48
static char * myiddisc_print(void *state, int objtype, uint64_t id)
Definition tcldot-id.c:68
static long myiddisc_map(void *state, int objtype, char *str, uint64_t *id, int createflag)
Definition tcldot-id.c:27
static void * myiddisc_open(Agraph_t *g, Agdisc_t *disc)
Definition tcldot-id.c:18
static void myiddisc_idregister(void *state, int objtype, void *obj)
Definition tcldot-id.c:77

Definition at line 92 of file tcldot-id.c.

Referenced by Tcldot_Init().