aboutsummaryrefslogtreecommitdiffstats
path: root/util/scan/section.h
diff options
context:
space:
mode:
authoretobi <git@e-tobi.net>2013-09-03 09:48:40 +0200
committeretobi <git@e-tobi.net>2013-09-03 09:48:40 +0200
commit6b350466c4902c5b137e0efaf1d189128a7f18f5 (patch)
treea7cf91f9896c0f8c9d8b291114e51f1373940c70 /util/scan/section.h
parent6e40287e2f39a80fc72bd8d0fbc1a8334d688c2d (diff)
downloadlinux-dvb-apps-6b350466c4902c5b137e0efaf1d189128a7f18f5.tar.gz
Imported Upstream version 1.1.1upstream/1.1.1
Diffstat (limited to '')
-rw-r--r--util/scan/section.h14
1 files changed, 14 insertions, 0 deletions
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 <stdio.h>
+
+#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