#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <errno.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
#include <utime.h>
#include "unzip.h"
Go to the source code of this file.
|
static void | change_file_date (char *filename, uLong dosdate, tm_unz tmu_date) const |
|
static void | Display64BitsSize (ZPOS64_T n, int size_char) |
|
static void | do_banner () |
|
static int | do_extract (unzFile uf, int opt_extract_without_path, int opt_overwrite, const char *password) |
|
static int | do_extract_currentfile (unzFile uf, const int *popt_extract_without_path, int *popt_overwrite, const char *password) |
|
static int | do_extract_onefile (unzFile uf, const char *filename, int opt_extract_without_path, int opt_overwrite, const char *password) |
|
static void | do_help () |
|
static int | do_list (unzFile uf) |
|
int | main (int argc, argv) |
|
static int | makedir (char *newdir) const |
|
static int | mymkdir (char *dirname) const |
|
◆ __USE_FILE_OFFSET64
#define __USE_FILE_OFFSET64 |
◆ __USE_LARGEFILE64
#define __USE_LARGEFILE64 |
◆ _FILE_OFFSET_BIT
#define _FILE_OFFSET_BIT 64 |
◆ _LARGEFILE64_SOURCE
#define _LARGEFILE64_SOURCE |
◆ CASESENSITIVITY
#define CASESENSITIVITY (0) |
◆ FOPEN_FUNC
◆ FSEEKO_FUNC
◆ FTELLO_FUNC
◆ MAXFILENAME
#define MAXFILENAME (256) |
◆ WRITEBUFFERSIZE
#define WRITEBUFFERSIZE (8192) |
◆ change_file_date()
static void change_file_date |
( |
char * |
filename, |
|
|
uLong |
dosdate, |
|
|
tm_unz |
tmu_date |
|
) |
| const |
|
static |
◆ Display64BitsSize()
static void Display64BitsSize |
( |
ZPOS64_T |
n, |
|
|
int |
size_char |
|
) |
| |
|
static |
◆ do_banner()
static void do_banner |
( |
| ) |
|
|
static |
◆ do_extract()
static int do_extract |
( |
unzFile |
uf, |
|
|
int |
opt_extract_without_path, |
|
|
int |
opt_overwrite, |
|
|
const char* |
password |
|
) |
| |
|
static |
◆ do_extract_currentfile()
◆ do_extract_onefile()
static int do_extract_onefile |
( |
unzFile |
uf, |
|
|
const char* |
filename, |
|
|
int |
opt_extract_without_path, |
|
|
int |
opt_overwrite, |
|
|
const char* |
password |
|
) |
| |
|
static |
◆ do_help()
◆ do_list()
◆ main()
◆ makedir()
static int makedir |
( |
char * |
newdir | ) |
const |
|
static |
◆ mymkdir()
static int mymkdir |
( |
char* |
dirname | ) |
const |
|
static |