Jspice3
Main Page
Data Structures
Files
File List
Globals
circuits.c
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: 1987 Wayne A. Christopher
5
1992 Stephen R. Whiteley
6
****************************************************************************/
7
8
/*
9
* Routines for dealing with the circuit database. This is currently
10
* not implemented fully.
11
*/
12
13
#include "
spice.h
"
14
#include "
ftedefs.h
"
15
#include "
spfteext.h
"
16
17
struct
circ
*
ft_curckt
=
NULL
;
/* The default active circuit. */
18
struct
circ
*
ft_circuits
=
NULL
;
19
20
struct
subcirc
*
ft_subcircuits
=
NULL
;
21
22
/* Now stuff to deal with circuits */
23
24
/* ARGSUSED */
25
void
26
ft_setccirc
(name)
27
char *name;
28
{
29
}
30
31
/* Add a circuit to the circuit list */
32
33
void
34
ft_newcirc
(ckt)
35
struct
circ
*ckt;
36
{
37
ckt->
ci_next
=
ft_circuits
;
38
ft_circuits = ckt;
39
return
;
40
}
41
42
/* Add a new subcircuit to the subcircuit list */
43
44
/* ARGSUSED */
45
void
46
ft_newsubcirc
(sckt)
47
struct
subcirc
*sckt;
48
{
49
}
50
circ::ci_next
struct circ * ci_next
Definition:
ftedefs.h:37
circ
Definition:
ftedefs.h:25
ft_setccirc
void ft_setccirc(char *name)
Definition:
circuits.c:26
ft_curckt
struct circ * ft_curckt
Definition:
circuits.c:17
spfteext.h
ft_newcirc
void ft_newcirc(struct circ *ckt)
Definition:
circuits.c:34
NULL
#define NULL
Definition:
spdefs.h:121
ft_circuits
struct circ * ft_circuits
Definition:
circuits.c:18
spice.h
ftedefs.h
ft_newsubcirc
void ft_newsubcirc(struct subcirc *sckt)
Definition:
circuits.c:46
ft_subcircuits
struct subcirc * ft_subcircuits
Definition:
circuits.c:20
subcirc
Definition:
ftedefs.h:49
src
lib
spfte
circuits.c
Generated by
1.8.11