From 6b350466c4902c5b137e0efaf1d189128a7f18f5 Mon Sep 17 00:00:00 2001 From: etobi Date: Tue, 3 Sep 2013 09:48:40 +0200 Subject: Imported Upstream version 1.1.1 --- util/scan/section.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 util/scan/section.h (limited to 'util/scan/section.h') diff --git a/util/scan/section.h b/util/scan/section.h new file mode 100644 index 0000000..88e9570 --- /dev/null +++ b/util/scan/section.h @@ -0,0 +1,14 @@ +#ifndef __SECTION_H__ +#define __SECTION_H__ + +#include + +#define u8 unsigned char +#define u16 unsigned short +#define u32 unsigned int + +#define PACKED __attribute((packed)) + +u32 getBits (const u8 *buf, int startbit, int bitlen); + +#endif -- cgit v1.2.3