Jspice3
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 
21 
22 /* Now stuff to deal with circuits */
23 
24 /* ARGSUSED */
25 void
27  char *name;
28 {
29 }
30 
31 /* Add a circuit to the circuit list */
32 
33 void
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
47  struct subcirc *sckt;
48 {
49 }
50 
struct circ * ci_next
Definition: ftedefs.h:37
Definition: ftedefs.h:25
void ft_setccirc(char *name)
Definition: circuits.c:26
struct circ * ft_curckt
Definition: circuits.c:17
void ft_newcirc(struct circ *ckt)
Definition: circuits.c:34
#define NULL
Definition: spdefs.h:121
struct circ * ft_circuits
Definition: circuits.c:18
void ft_newsubcirc(struct subcirc *sckt)
Definition: circuits.c:46
struct subcirc * ft_subcircuits
Definition: circuits.c:20