8 changed files with 97 additions and 83 deletions
-
76src/frontend/ChangeLog
-
3src/frontend/Makefile.am
-
21src/frontend/com_dump.c
-
6src/frontend/com_dump.h
-
6src/frontend/com_set.h
-
37src/frontend/com_state.c
-
7src/frontend/com_state.h
-
14src/frontend/debugcom.h
@ -0,0 +1,21 @@ |
|||
#include <config.h> |
|||
#include <ngspice.h> |
|||
#include <bool.h> |
|||
#include <wordlist.h> |
|||
#include <inpdefs.h> |
|||
|
|||
#include "circuits.h" |
|||
#include "com_dump.h" |
|||
#include "streams.h" |
|||
|
|||
|
|||
void |
|||
com_dump(wordlist *wl) |
|||
{ |
|||
if (!ft_curckt || !ft_curckt->ci_ckt) { |
|||
fprintf(cp_err, "Error: no circuit loaded.\n"); |
|||
return; |
|||
} |
|||
if_dump(ft_curckt->ci_ckt, cp_out); |
|||
return; |
|||
} |
|||
@ -0,0 +1,6 @@ |
|||
#ifndef _COM_DUMP_H |
|||
#define _COM_DUMP_H |
|||
|
|||
void com_dump(wordlist *wl); |
|||
|
|||
#endif |
|||
@ -0,0 +1,6 @@ |
|||
#ifndef _COM_SET_H |
|||
#define _COM_SET_H |
|||
|
|||
void com_set(wordlist *wl); |
|||
|
|||
#endif |
|||
@ -0,0 +1,7 @@ |
|||
#ifndef _COM_STATE_H |
|||
#define _COM_STATE_H |
|||
|
|||
void com_state(wordlist *wl); |
|||
|
|||
#endif |
|||
|
|||
@ -1,14 +0,0 @@ |
|||
/************* |
|||
* Header file for debugcom.c |
|||
* 1999 E. Rouat |
|||
************/ |
|||
|
|||
#ifndef DEBUGCOM_H_INCLUDED |
|||
#define DEBUGCOM_H_INCLUDED |
|||
|
|||
void com_state(wordlist *wl); |
|||
void com_dump(wordlist *wl); |
|||
|
|||
|
|||
|
|||
#endif |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue