Jspice3
scedio.h
Go to the documentation of this file.
1 /***************************************************************************
2 JSPICE3 adaptation of Spice3e2 - Copyright (c) Stephen R. Whiteley 1992
3 Copyright 1990 Regents of the University of California. All rights reserved.
4 Authors: 1992 Stephen R. Whiteley
5 ****************************************************************************/
6 
7 /*
8  * Input/output passed through SCED.
9  */
10 
11 
13 
14 #ifdef __STDC__
15 extern int SCEDline(char*);
16 extern void SCEDfflush(void);
17 extern char *SCEDfgets(char*,int,FILE*,char*);
18 extern enum Active SCEDactive(void);
19 #else
20 extern int SCEDline();
21 extern void SCEDfflush();
22 extern char *SCEDfgets();
23 extern enum Active SCEDactive();
24 #endif
25 
26 
27 #ifndef SHORT_SCEDIO
28 
29 /* structure for spice communication - entries are
30  * NULL in nutmeg
31  */
32 
33 struct sSCEDitf {
34 
35 #ifdef __STDC__
36  int (*sc_inprogress)(void);
37  void (*sc_dosim)(char*,wordlist*);
38  void (*sc_source)(struct line*,bool,char*);
39  void (*sc_cktclear)(void);
40  void (*sc_resume)(wordlist*);
41  int (*sc_isiplot)(void);
42  void (*sc_setiplot)(wordlist*);
43  void (*sc_clriplot)(wordlist*);
44 #else
45  int (*sc_inprogress)();
46  void (*sc_dosim)();
47  void (*sc_source)();
48  void (*sc_cktclear)();
49  void (*sc_resume)();
50  int (*sc_isiplot)();
51  void (*sc_setiplot)();
52  void (*sc_clriplot)();
53 #endif
54 
55 };
56 extern struct sSCEDitf *ft_sced;
57 
58 
59 #endif
int(* sc_inprogress)()
Definition: scedio.h:45
int bool
Definition: cpstd.h:16
Definition: fteinp.h:14
int SCEDline()
void(* sc_dosim)()
Definition: scedio.h:46
void(* sc_resume)()
Definition: scedio.h:49
Definition: cpstd.h:21
void(* sc_clriplot)()
Definition: scedio.h:52
char * SCEDfgets()
enum Active SCEDactive()
Definition: scedstub.c:63
int(* sc_isiplot)()
Definition: scedio.h:50
struct sSCEDitf * ft_sced
Definition: main.c:441
void(* sc_cktclear)()
Definition: scedio.h:48
void(* sc_setiplot)()
Definition: scedio.h:51
void SCEDfflush()
Definition: scedstub.c:32
Active
Definition: scedio.h:12
void(* sc_source)()
Definition: scedio.h:47