Graphviz 12.1.0~dev.20240716.0947
Loading...
Searching...
No Matches
tcldot.c File Reference
#include "tcldot.h"
#include <cgraph/rdr.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for tcldot.c:

Go to the source code of this file.

Functions

static int dotnew (ClientData clientData, Tcl_Interp *interp, int argc, char *argv[])
 
static int dotread (ClientData clientData, Tcl_Interp *interp, int argc, char *argv[])
 
static int dotstring (ClientData clientData, Tcl_Interp *interp, int argc, char *argv[])
 
int Tcldot_Init (Tcl_Interp *interp)
 
int Tcldot_SafeInit (Tcl_Interp *interp)
 
int Tcldot_builtin_Init (Tcl_Interp *interp)
 

Function Documentation

◆ dotnew()

static int dotnew ( ClientData  clientData,
Tcl_Interp *  interp,
int  argc,
char *  argv[] 
)
static

Definition at line 16 of file tcldot.c.

References Agdirected, agopen(), Agstrictdirected, Agstrictundirected, Agundirected, kind, NULL, obj2cmd(), setgraphattributes(), and Tcl_GetStringResult.

Referenced by Tcldot_Init().

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

◆ dotread()

static int dotread ( ClientData  clientData,
Tcl_Interp *  interp,
int  argc,
char *  argv[] 
)
static

Definition at line 66 of file tcldot.c.

References Agiodisc_s::afread, agerrors(), agread(), ictx_t::myioDisc, myiodisc_afread(), NULL, and obj2cmd().

Referenced by Tcldot_Init().

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

◆ dotstring()

static int dotstring ( ClientData  clientData,
Tcl_Interp *  interp,
int  argc,
char *  argv[] 
)
static

Definition at line 115 of file tcldot.c.

References Agiodisc_s::afread, agerrors(), agread(), rdr_t::cur, rdr_t::data, rdr_t::len, ictx_t::myioDisc, myiodisc_memiofread(), NULL, and obj2cmd().

Referenced by Tcldot_Init().

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

◆ Tcldot_builtin_Init()

int Tcldot_builtin_Init ( Tcl_Interp *  interp)

Definition at line 222 of file tcldot.c.

References Tcldot_Init().

Here is the call graph for this function:

◆ Tcldot_Init()

int Tcldot_Init ( Tcl_Interp *  interp)

Definition at line 158 of file tcldot.c.

References Agiodisc_s::afread, AgIoDisc, ictx_t::ctr, dotnew(), dotread(), dotstring(), Agiodisc_s::flush, free(), Gdtclft_Init, ictx_t::gvc, gvContextPlugins(), Agdisc_s::id, ictx_t::interp, Agdisc_s::io, lt_preloaded_symbols, ictx_t::mydisc, myiddisc, ictx_t::myioDisc, NULL, and Agiodisc_s::putstr.

Referenced by Tcldot_builtin_Init(), and Tcldot_SafeInit().

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

◆ Tcldot_SafeInit()

int Tcldot_SafeInit ( Tcl_Interp *  interp)

Definition at line 219 of file tcldot.c.

References Tcldot_Init().

Here is the call graph for this function: