Jspice3
Main Page
Data Structures
Files
File List
Globals
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
12
enum
Active
{
SCED_inactive
=0,
SCED_active
,
SCED_inhelp
};
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
sSCEDitf::sc_inprogress
int(* sc_inprogress)()
Definition:
scedio.h:45
bool
int bool
Definition:
cpstd.h:16
SCED_inactive
Definition:
scedio.h:12
sSCEDitf
Definition:
scedio.h:33
line
Definition:
fteinp.h:14
SCEDline
int SCEDline()
SCED_active
Definition:
scedio.h:12
sSCEDitf::sc_dosim
void(* sc_dosim)()
Definition:
scedio.h:46
sSCEDitf::sc_resume
void(* sc_resume)()
Definition:
scedio.h:49
wordlist
Definition:
cpstd.h:21
sSCEDitf::sc_clriplot
void(* sc_clriplot)()
Definition:
scedio.h:52
SCEDfgets
char * SCEDfgets()
SCEDactive
enum Active SCEDactive()
Definition:
scedstub.c:63
sSCEDitf::sc_isiplot
int(* sc_isiplot)()
Definition:
scedio.h:50
ft_sced
struct sSCEDitf * ft_sced
Definition:
main.c:441
sSCEDitf::sc_cktclear
void(* sc_cktclear)()
Definition:
scedio.h:48
sSCEDitf::sc_setiplot
void(* sc_setiplot)()
Definition:
scedio.h:51
SCEDfflush
void SCEDfflush()
Definition:
scedstub.c:32
Active
Active
Definition:
scedio.h:12
sSCEDitf::sc_source
void(* sc_source)()
Definition:
scedio.h:47
SCED_inhelp
Definition:
scedio.h:12
src
include
scedio.h
Generated by
1.8.11