OSDN Git Service

0.9.9 manual RC1.
[rec10/rec10-git.git] / epgdump / util.h
1 #ifndef UTIL_H
2 #define UTIL_H 1
3
4 #define MAXSECLEN 4096
5
6 #include <time.h>
7
8 #ifdef __cplusplus
9 extern "C"{
10 #endif /* __cplusplus */
11
12         int    getBit(unsigned char *byte, int *pbit, int gbit);
13         void   getStr(char *tostr, unsigned char *byte, int *pbit, int len);
14         int    parseOTHERdesc(unsigned char *data);
15         void*  allocCopy(void* src, int *boff, size_t size);
16         time_t parseMJD( unsigned char *data );
17
18 #ifdef __cplusplus
19 }
20 #endif /* __cplusplus */
21
22 #endif