section.h 245 B

1234567891011121314
  1. #ifndef __SECTION_H__
  2. #define __SECTION_H__
  3. #include <stdio.h>
  4. #define u8 unsigned char
  5. #define u16 unsigned short
  6. #define u32 unsigned int
  7. #define PACKED __attribute((packed))
  8. u32 getBits (const u8 *buf, int startbit, int bitlen);
  9. #endif