|
|
|
@ -285,11 +285,30 @@ typedef int (GetSyncData)(double, double*, double, int, int, int, void*); |
|
|
|
/* callback functions |
|
|
|
addresses received from caller with ngSpice_Init_Evt() function |
|
|
|
*/ |
|
|
|
typedef int (SendEvtData)(int, double, double, char *, void *, int, int, void*); |
|
|
|
/* int index, double step, double dvalue, char *svalue, void *pvalue, int plen, int mode */ |
|
|
|
typedef int (SendInitEvtData)(char*, void*); |
|
|
|
|
|
|
|
/* Upon time step finished, called per node */ |
|
|
|
typedef int (SendEvtData)(int, double, double, char *, void *, int, int, int, void*); |
|
|
|
/* |
|
|
|
char* string with node info: "index name udn-name" |
|
|
|
int node index |
|
|
|
double step, actual simulation time |
|
|
|
double dvalue, a real value for specified structure component for plotting purposes |
|
|
|
char *svalue, a string value for specified structure component for printing |
|
|
|
void *pvalue, a binary data structure |
|
|
|
int plen, size of the *pvalue structure |
|
|
|
int mode, the mode (op, dc, tran) we are in |
|
|
|
int ident, identification number of calling ngspice shared lib |
|
|
|
void* return pointer received from caller |
|
|
|
*/ |
|
|
|
|
|
|
|
/* Upon initialization, called once per event node |
|
|
|
To build up a dictionary of nodes */ |
|
|
|
typedef int (SendInitEvtData)(int, int, char*, char*, int, void*); |
|
|
|
/* |
|
|
|
int node index |
|
|
|
int maximum node index, number of nodes |
|
|
|
char* node name |
|
|
|
char* udn-name, node type |
|
|
|
int identification number of calling ngspice shared lib |
|
|
|
void* return pointer received from caller |
|
|
|
*/ |
|
|
|
#endif |
|
|
|
|