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