-
Notifications
You must be signed in to change notification settings - Fork 3
/
common.h
31 lines (25 loc) · 1.17 KB
/
common.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* common.h
*
* Created on: 2010-5-9
* Author: Argon
*/
#ifndef COMMON_H_
#define COMMON_H_
#include <io.h>
#include <stdio.h>
#include <stdlib.h>
#include <memory.h>
void th06decode(char *file, unsigned char * buffer, unsigned int flength);
void th07decode(char *file, unsigned char * buffer, unsigned int flength);
void th08decode(char *file, unsigned char * buffer, unsigned int flength);
void th10decode(char *file, unsigned char * buffer, unsigned int flength);
void th11decode(char *file, unsigned char * buffer, unsigned int flength);
void th12decode(char *file, unsigned char * buffer, unsigned int flength);
void th125decode(char *file, unsigned char * buffer, unsigned int flength);
void th128decode(char *file, unsigned char * buffer, unsigned int flength);
void th13decode(char *file, unsigned char * buffer, unsigned int flength);
unsigned int get_bit(unsigned char* buffer, unsigned int &pointer, unsigned char &filter, unsigned char length);
unsigned int decompress(unsigned char * buffer, unsigned char * decode, unsigned int length);
void decode(unsigned char * buffer, int length, int block_size, unsigned char base, unsigned char add);
#endif /* COMMON_H_ */