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

Go to the source code of this file.

Functions

static int dotnew_internal (ClientData clientData, Tcl_Interp *interp, int argc, char *argv[])
 
static int dotnew (ClientData clientData, Tcl_Interp *interp, int argc, const char *argv[])
 
static int dotread (ClientData clientData, Tcl_Interp *interp, int argc, const char *argv[])
 
static int dotstring (ClientData clientData, Tcl_Interp *interp, int argc, const 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,
const char *  argv[] 
)
static

Definition at line 69 of file tcldot.c.

References dotnew_internal(), tcldot_argv_dup(), and tcldot_argv_free().

Referenced by Tcldot_Init().

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

◆ dotnew_internal()

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

Definition at line 18 of file tcldot.c.

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

Referenced by dotnew().

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,
const char *  argv[] 
)
static

Definition at line 77 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,
const char *  argv[] 
)
static

Definition at line 121 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 217 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 159 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 214 of file tcldot.c.

References Tcldot_Init().

Here is the call graph for this function: