#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>
#include <utime.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "zip.h"
Go to the source code of this file.
| #define __USE_FILE_OFFSET64 |
| #define __USE_LARGEFILE64 |
| #define _FILE_OFFSET_BIT 64 |
| #define _LARGEFILE64_SOURCE |
| #define FOPEN_FUNC |
( |
|
filename, |
|
|
|
mode |
|
) |
| fopen64(filename, mode) |
| #define FSEEKO_FUNC |
( |
|
stream, |
|
|
|
offset, |
|
|
|
origin |
|
) |
| fseeko64(stream, offset, origin) |
| #define FTELLO_FUNC |
( |
|
stream | ) |
ftello64(stream) |
| #define MAXFILENAME (256) |
| #define WRITEBUFFERSIZE (16384) |
| int check_exist_file |
( |
char* |
filename | ) |
const |
| int getFileCrc |
( |
const char * |
filenameinzip, |
|
|
void * |
buf, |
|
|
unsigned long |
size_buf, |
|
|
unsigned long * |
result_crc |
|
) |
| |
| int isLargeFile |
( |
const char * |
filename | ) |
|
| int main |
( |
int |
argc, |
|
|
argv |
|
|
) |
| |