1 /*********************************************************************
3 * Copyright (C) 2008, Simon Kagstrom
6 * Author: Simon Kagstrom <simon.kagstrom@gmail.com>
7 * Description: Exported stuff
11 ********************************************************************/
19 end_LITTLE_ENDIAN
= 0,
26 endianness_t host_endian
;
33 extern const char *struct_fmt_options
;
35 extern void init_struct_pack(struct_t
*s
, FILE *out
, const char *fmt
);
36 extern void init_struct_unpack(struct_t
*s
, FILE *in
, FILE *out
, const char *fmt
);
37 extern void run_struct_pack(struct_t
*s
, int argc
, const char *args
[]);
38 extern void run_struct_unpack(struct_t
*s
);
40 #endif /* !__STRUCT_H__ */