Assimp  v4.1. (December 2018)
zip.h File Reference

Macros

#define MAX_PATH   32767 /* # chars in a path name including NULL */
 
#define ZIP_DEFAULT_COMPRESSION_LEVEL   6
 
#define ZIP_H
 

Functions

void zip_close (struct zip_t *zip)
 
int zip_create (const char *zipname, const char *filenames[], size_t len)
 
int zip_entry_close (struct zip_t *zip)
 
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_entry_fread (struct zip_t *zip, const char *filename)
 
int zip_entry_fwrite (struct zip_t *zip, const char *filename)
 
int zip_entry_open (struct zip_t *zip, const char *entryname)
 
int zip_entry_read (struct zip_t *zip, void **buf, size_t *bufsize)
 
int zip_entry_write (struct zip_t *zip, const void *buf, size_t bufsize)
 
int zip_extract (const char *zipname, const char *dir, int(*on_extract_entry)(const char *filename, void *arg), void *arg)
 
struct zip_tzip_open (const char *zipname, int level, char mode)
 

Macro Definition Documentation

◆ 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

#define ZIP_H

Function Documentation

◆ 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_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_open()

int zip_entry_open ( struct zip_t zip,
const char *  entryname 
)

◆ zip_entry_read()

int zip_entry_read ( struct zip_t zip,
void **  buf,
size_t *  bufsize 
)

◆ 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 
)