Line | |
---|
1 |
|
---|
2 | #ifndef _FROG_ZLIB_H__
|
---|
3 | #define _FROG_ZLIB_H__
|
---|
4 |
|
---|
5 | #include <iostream>
|
---|
6 | #include <stdio.h>
|
---|
7 | #include <assert.h>
|
---|
8 | #include "../ZLIB/zlib.h"
|
---|
9 |
|
---|
10 | //#ifdef linux
|
---|
11 | //#else
|
---|
12 | // #pragma comment (lib,"Includes/ZLIB/Lib/zdll.lib")
|
---|
13 | //#endif
|
---|
14 |
|
---|
15 | #define CHUNK 16384
|
---|
16 |
|
---|
17 | bool copy(const char* Input, const char* Output);
|
---|
18 |
|
---|
19 | bool FROG_ZLIB_IsGZip(char* fileName);
|
---|
20 | bool FROG_ZLIB_IsUnZippedFileExist(char* source_path);
|
---|
21 |
|
---|
22 | bool FROG_ZLIB_Inflate(char* source_path);
|
---|
23 | int FROG_ZLIB_Inflate(FILE *source, FILE *dest);
|
---|
24 |
|
---|
25 | int FROG_ZLIB_Deflate(FILE *source, FILE *dest, int level);
|
---|
26 | bool FROG_ZLIB_Deflate(char* source_path);
|
---|
27 |
|
---|
28 | #endif
|
---|
29 |
|
---|
30 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.