Fixes
[opsoft.git] / silentbob / include / structs.h
blobf77c7325f6ad543e67c7ae4b42a16a5ac3ea2db4
1 /*
2 * (c) Oleg Puchinin 2006
3 * graycardinalster@gmail.com
4 *
5 */
7 #ifndef DEFINE_STRUCTS_H
8 #define DEFINE_STRUCTS_H
9 struct d_tag_t
11 char d_name[256];
12 char d_file[256];
13 int d_op;
14 int d_line;
15 int d_type; // Minimal support.
18 struct pair_t
20 int pair_op;
21 int pair_line;
22 int offset;
25 struct tt_state_t
27 char *fileName;
28 int fd;
29 char * fileData;
30 int fileDataSize;
31 bool mmaped;
32 char * result;
33 int resultSize;
34 pair_t * attachment;
37 struct fdump_param_t
39 int n_trip;
40 int d_line;
41 bool linear;
42 bool b_force_block;
43 char * d_file_name;
44 char *d_file_output;
47 struct c_word
49 char * S;
50 char ch;
53 void free_cword (c_word *);
55 struct __block_t {
56 int op_no;
57 int type;
60 /*
61 * "struct {" -- BB_BEGIN
62 * ...
63 * } - BB_END
64 * <name>; - BB_TAIL
67 enum {
68 BB_BEGIN = 1,
69 BB_END = 2,
70 BB_TAIL = 3
72 #endif