PLplot
5.10.0
|
00001 // Maurice LeBrun 00002 // 21-Jun-94 00003 // 00004 // Declarations for PLplot/Tcl utility routines. 00005 // These should not require either Tk or Tcl-DP. 00006 // 00007 00008 #ifndef __PLTCL_H__ 00009 #define __PLTCL_H__ 00010 00011 #include "plplot.h" 00012 #include "pldll.h" 00013 #include <tcl.h> 00014 #include "tclMatrix.h" 00015 00016 #ifdef __cplusplus 00017 extern "C" { 00018 #endif 00019 00020 // tclMain.c 00021 // Main program for a Tcl-based shell that reads Tcl commands from stdin. 00022 00023 PLDLLIMPEXP_TCLTK int 00024 pltclMain( int argc, const char **argv, char *RcFileName, 00025 int ( *AppInit )( Tcl_Interp *interp ) ); 00026 00027 // tclAPI.c 00028 // Front-end to PLplot/Tcl API for use from Tcl commands (e.g. plframe). 00029 00030 PLDLLIMPEXP_TCLTK int 00031 plTclCmd( char *cmdlist, Tcl_Interp *interp, 00032 int argc, const char **argv ); 00033 00034 // Initialization routine for PLplot-extended tclsh's (like pltcl). 00035 00036 PLDLLIMPEXP_TCLTK int 00037 Pltcl_Init( Tcl_Interp *interp ); 00038 00039 PLDLLIMPEXP_TCLTK int 00040 PlbasicInit( Tcl_Interp *interp ); 00041 00042 // tkshell.c 00043 // Sets up auto_path variable 00044 00045 PLDLLIMPEXP_TCLTK int 00046 pls_auto_path( Tcl_Interp *interp ); 00047 00048 // Tcl command -- wait until the specified condition is satisfied. 00049 00050 PLDLLIMPEXP_TCLTK int 00051 plWait_Until( ClientData, Tcl_Interp *, int, const char ** ); 00052 00053 // Tcl command -- return the IP address for the current host. 00054 00055 int 00056 plHost_ID( ClientData clientData, Tcl_Interp *interp, int argc, const char **argv ); 00057 00058 #ifdef __cplusplus 00059 } 00060 #endif 00061 00062 #endif // __PLTCL_H__