aboutsummaryrefslogtreecommitdiffstats
path: root/util/scan/section.h
blob: 88e9570738cc429c3dd38708b281b7fa87581b57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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