nexmon – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /* source: dalan.h */ |
2 | /* Copyright Gerhard Rieger 2001 */ |
||
3 | /* Published under the GNU General Public License V.2, see file COPYING */ |
||
4 | |||
5 | #ifndef __dalan_h_included |
||
6 | #define __dalan_h_included 1 |
||
7 | |||
8 | #include "mytypes.h" |
||
9 | |||
10 | /* machine properties and command line options */ |
||
11 | struct dalan_opts_s { |
||
12 | int c_int; /* natural int size / C int size */ |
||
13 | int c_short; /* C short size */ |
||
14 | int c_long; /* C long size */ |
||
15 | int c_char; /* C char size */ |
||
16 | int c_float; /* C float size */ |
||
17 | int c_double; /* C double size */ |
||
18 | int maxalign; /* maximal alignment (double after char) */ |
||
19 | int minalign; /* minimal alignment (char after char) */ |
||
20 | int byteorder; /* 0: Motorola, network, big endian; 1: Intel, little |
||
21 | endian */ |
||
22 | } ; |
||
23 | |||
24 | extern struct dalan_opts_s dalan_opts; |
||
25 | |||
26 | extern void dalan_init(void); |
||
27 | extern struct dalan_opts_s *dalan_props(void); |
||
28 | extern int dalan(const char *line, char *data, size_t *p, size_t n); |
||
29 | |||
30 | #endif /* !defined(__dalan_h_included) */ |