#include <string.h>
Go to the source code of this file.
|
| struct zip_t * | zip_open (const char *zipname, int level, char mode) |
| |
| void | zip_close (struct zip_t *zip) |
| |
| int | zip_entry_open (struct zip_t *zip, const char *entryname) |
| |
| int | zip_entry_openbyindex (struct zip_t *zip, int index) |
| |
| int | zip_entry_close (struct zip_t *zip) |
| |
| const char * | zip_entry_name (struct zip_t *zip) |
| |
| int | zip_entry_index (struct zip_t *zip) |
| |
| int | zip_entry_isdir (struct zip_t *zip) |
| |
| unsigned long long | zip_entry_size (struct zip_t *zip) |
| |
| unsigned int | zip_entry_crc32 (struct zip_t *zip) |
| |
| int | zip_entry_write (struct zip_t *zip, const void *buf, size_t bufsize) |
| |
| int | zip_entry_fwrite (struct zip_t *zip, const char *filename) |
| |
| int | zip_entry_read (struct zip_t *zip, void **buf, size_t *bufsize) |
| |
| int | zip_entry_noallocread (struct zip_t *zip, void *buf, size_t bufsize) |
| |
| int | zip_entry_fread (struct zip_t *zip, const char *filename) |
| |
| int | zip_entry_extract (struct zip_t *zip, size_t(*on_extract)(void *arg, unsigned long long offset, const void *data, size_t size), void *arg) |
| |
| int | zip_total_entries (struct zip_t *zip) |
| |
| int | zip_create (const char *zipname, const char *filenames[], size_t len) |
| |
| int | zip_extract (const char *zipname, const char *dir, int(*on_extract_entry)(const char *filename, void *arg), void *arg) |
| |
◆ MAX_PATH
| #define MAX_PATH 32767 /* # chars in a path name including NULL */ |
◆ ZIP_DEFAULT_COMPRESSION_LEVEL
| #define ZIP_DEFAULT_COMPRESSION_LEVEL 6 |
◆ ZIP_H
◆ zip_close()
| void zip_close |
( |
struct zip_t * |
zip | ) |
|
◆ zip_create()
| int zip_create |
( |
const char * |
zipname, |
|
|
const char * |
filenames[], |
|
|
size_t |
len |
|
) |
| |
◆ zip_entry_close()
| int zip_entry_close |
( |
struct zip_t * |
zip | ) |
|
◆ zip_entry_crc32()
| unsigned int zip_entry_crc32 |
( |
struct zip_t * |
zip | ) |
|
◆ zip_entry_extract()
| int zip_entry_extract |
( |
struct zip_t * |
zip, |
|
|
size_t(*)(void *arg, unsigned long long offset, const void *data, size_t size) |
on_extract, |
|
|
void * |
arg |
|
) |
| |
◆ zip_entry_fread()
| int zip_entry_fread |
( |
struct zip_t * |
zip, |
|
|
const char * |
filename |
|
) |
| |
◆ zip_entry_fwrite()
| int zip_entry_fwrite |
( |
struct zip_t * |
zip, |
|
|
const char * |
filename |
|
) |
| |
◆ zip_entry_index()
| int zip_entry_index |
( |
struct zip_t * |
zip | ) |
|
◆ zip_entry_isdir()
| int zip_entry_isdir |
( |
struct zip_t * |
zip | ) |
|
◆ zip_entry_name()
| const char* zip_entry_name |
( |
struct zip_t * |
zip | ) |
|
◆ zip_entry_noallocread()
| int zip_entry_noallocread |
( |
struct zip_t * |
zip, |
|
|
void * |
buf, |
|
|
size_t |
bufsize |
|
) |
| |
◆ zip_entry_open()
| int zip_entry_open |
( |
struct zip_t * |
zip, |
|
|
const char * |
entryname |
|
) |
| |
◆ zip_entry_openbyindex()
| int zip_entry_openbyindex |
( |
struct zip_t * |
zip, |
|
|
int |
index |
|
) |
| |
◆ zip_entry_read()
| int zip_entry_read |
( |
struct zip_t * |
zip, |
|
|
void ** |
buf, |
|
|
size_t * |
bufsize |
|
) |
| |
◆ zip_entry_size()
| unsigned long long zip_entry_size |
( |
struct zip_t * |
zip | ) |
|
◆ zip_entry_write()
| int zip_entry_write |
( |
struct zip_t * |
zip, |
|
|
const void * |
buf, |
|
|
size_t |
bufsize |
|
) |
| |
◆ zip_extract()
| int zip_extract |
( |
const char * |
zipname, |
|
|
const char * |
dir, |
|
|
int(*)(const char *filename, void *arg) |
on_extract_entry, |
|
|
void * |
arg |
|
) |
| |
◆ zip_open()
| struct zip_t* zip_open |
( |
const char * |
zipname, |
|
|
int |
level, |
|
|
char |
mode |
|
) |
| |
◆ zip_total_entries()
| int zip_total_entries |
( |
struct zip_t * |
zip | ) |
|