Jspice3
Main Page
Data Structures
Files
File List
Globals
cktaskaq.c
Go to the documentation of this file.
1
/***************************************************************************
2
JSPICE3 adaptation of Spice3f2 - Copyright (c) Stephen R. Whiteley 1992
3
Copyright 1990 Regents of the University of California. All rights reserved.
4
Authors: 1985 Thomas L. Quarles
5
1993 Stephen R. Whiteley
6
****************************************************************************/
7
8
#include "
spice.h
"
9
#include <stdio.h>
10
#include "
cktdefs.h
"
11
#include "
tskdefs.h
"
12
#include "
jobdefs.h
"
13
#include "
util.h
"
14
#include "
iferrmsg.h
"
15
#include "
cktext.h
"
16
17
18
/* ARGSUSED */
19
int
20
CKTaskAnalQ
(ckt,analPtr,parm,value,selector)
21
22
GENERIC
*ckt;
23
GENERIC
*analPtr;
24
int
parm;
25
IFvalue
*value;
26
IFvalue
*selector;
27
{
28
int
type
= ((
JOB
*)analPtr)->JOBtype;
29
30
if
((
analInfo
[type]->askQuest) ==
NULL
)
31
return
(
E_BADPARM
);
32
33
return
( (*(
analInfo
[type]->askQuest))(ckt,analPtr,parm,value) );
34
}
cktdefs.h
E_BADPARM
#define E_BADPARM
Definition:
iferrmsg.h:26
jobdefs.h
sJOB
Definition:
cktdefs.h:23
analInfo
SPICEanalysis * analInfo[]
Definition:
sconfig.c:57
NULL
#define NULL
Definition:
spdefs.h:121
type
Definition:
types.c:18
CKTaskAnalQ
int CKTaskAnalQ(GENERIC *ckt, GENERIC *analPtr, int parm, IFvalue *value, IFvalue *selector)
Definition:
cktaskaq.c:20
util.h
spice.h
iferrmsg.h
tskdefs.h
cktext.h
uIFvalue
Definition:
ifsim.h:231
GENERIC
char GENERIC
Definition:
ifsim.h:27
src
lib
ckt
cktaskaq.c
Generated by
1.8.11