OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [expect/] [expect_tcl.h] - Blame information for rev 578

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
/* expect_tcl.h - include file for using the expect library, libexpect.a
2
with Tcl (and optionally Tk)
3
 
4
Written by: Don Libes, libes@cme.nist.gov, NIST, 12/3/90
5
 
6
Design and implementation of this program was paid for by U.S. tax
7
dollars.  Therefore it is public domain.  However, the author and NIST
8
would appreciate credit if this program or parts of it are used.
9
 
10
*/
11
 
12
#ifndef _EXPECT_TCL_H
13
#define _EXPECT_TCL_H
14
 
15
#include "expect_comm.h"
16
 
17
EXTERN int exp_cmdlinecmds;
18
EXTERN int exp_interactive;
19
EXTERN FILE *exp_cmdfile;
20
EXTERN char *exp_cmdfilename;
21
EXTERN int exp_getpid;  /* pid of Expect itself */
22
EXTERN int exp_buffer_command_input;
23
 
24
EXTERN int exp_tcl_debugger_available;
25
 
26
EXTERN Tcl_Interp *exp_interp;
27
 
28
#define Exp_Init Expect_Init
29
EXTERN int      Expect_Init _ANSI_ARGS_((Tcl_Interp *));        /* for Tcl_AppInit apps */
30
EXTERN void     exp_parse_argv _ANSI_ARGS_((Tcl_Interp *,int argc,char **argv));
31
EXTERN int      exp_interpreter _ANSI_ARGS_((Tcl_Interp *));
32
EXTERN int      exp_interpret_cmdfile _ANSI_ARGS_((Tcl_Interp *,FILE *));
33
EXTERN int      exp_interpret_cmdfilename _ANSI_ARGS_((Tcl_Interp *,char *));
34
EXTERN void     exp_interpret_rcfiles _ANSI_ARGS_((Tcl_Interp *,int my_rc,int sys_rc));
35
 
36
EXTERN char *   exp_cook _ANSI_ARGS_((char *s,int *len));
37
 
38
EXTERN void     exp_close_on_exec _ANSI_ARGS_((int));
39
 
40
                        /* app-specific exit handler */
41
EXTERN void     (*exp_app_exit)_ANSI_ARGS_((Tcl_Interp *));
42
EXTERN void     exp_exit _ANSI_ARGS_((Tcl_Interp *,int status));
43
EXTERN void     exp_exit_handlers _ANSI_ARGS_((ClientData));
44
 
45
EXTERN void     exp_error _ANSI_ARGS_(TCL_VARARGS(Tcl_Interp *,interp));
46
 
47
#endif /* _EXPECT_TCL_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.