OSDN Git Service

a2cff5175548dda1a94bb6cd4b736b9573e80f52
[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 strrep(char *buf, char *mae, char *ato);
13         int    getBit(unsigned char *byte, int *pbit, int gbit);
14         void   getStr(char *tostr, unsigned char *byte, int *pbit, int len);
15         int    parseOTHERdesc(unsigned char *data);
16         void*  allocCopy(void* src, int *boff, size_t size);
17         time_t parseMJD( unsigned char *data );
18
19 #ifdef __cplusplus
20 }
21 #endif /* __cplusplus */
22
23 #endif