PLplot  5.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
pltcl.h
Go to the documentation of this file.
1 // Maurice LeBrun
2 // 21-Jun-94
3 //
4 // Declarations for PLplot/Tcl utility routines.
5 // These should not require either Tk or Tcl-DP.
6 //
7 
8 #ifndef __PLTCL_H__
9 #define __PLTCL_H__
10 
11 #include "plplot.h"
12 #include "pldll.h"
13 #include <tcl.h>
14 #include "tclMatrix.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
20 // tclMain.c
21 // Main program for a Tcl-based shell that reads Tcl commands from stdin.
22 
24 pltclMain( int argc, const char **argv, char *RcFileName,
25  int ( *AppInit )( Tcl_Interp *interp ) );
26 
27 // tclAPI.c
28 // Front-end to PLplot/Tcl API for use from Tcl commands (e.g. plframe).
29 
31 plTclCmd( char *cmdlist, Tcl_Interp *interp,
32  int argc, const char **argv );
33 
34 // Initialization routine for PLplot-extended tclsh's (like pltcl).
35 
37 Pltcl_Init( Tcl_Interp *interp );
38 
40 PlbasicInit( Tcl_Interp *interp );
41 
42 // tkshell.c
43 // Sets up auto_path variable
44 
46 pls_auto_path( Tcl_Interp *interp );
47 
48 // Tcl command -- wait until the specified condition is satisfied.
49 
51 plWait_Until( ClientData, Tcl_Interp *, int, const char ** );
52 
53 // Tcl command -- return the IP address for the current host.
54 
55 int
56 plHost_ID( ClientData clientData, Tcl_Interp *interp, int argc, const char **argv );
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif // __PLTCL_H__