2 /* Copyright Gerhard Rieger and contributors (see file CHANGES) */
3 /* Published under the GNU General Public License V.2, see file COPYING */
5 #ifndef __dalan_h_included
6 #define __dalan_h_included 1
10 /* machine properties and command line options */
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
24 extern struct dalan_opts_s dalan_opts
;
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
);
30 #endif /* !defined(__dalan_h_included) */