Ignore all generated/compiled files
[gwave-svn.git] / spicefile / spice2.h
blob84bbb18c99091e01c0b98c62753735071b970416
1 /* header file for spice2g6 raw file structures */
3 typedef struct {
4 char title[80];
5 char date[8];
6 char time[8];
7 short mode:16;
8 short nvars:16;
9 short const4:16;
10 } spice_hdr_t;
12 typedef struct {
13 char name[8];
14 } spice_var_name_t;
16 typedef short spice_var_type_t;
18 typedef short spice_var_loc_t;
20 typedef struct {
21 char title[24];
22 } spice_plot_title_t;
24 #define SPICE_MAGIC "rawfile1"
26 typedef union {
27 double val;
28 struct {
29 float r;
30 float j;
31 } cval;
32 char magic[8];
33 } spice_var_t;