altEngine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Typedefs | Functions
junzip.h File Reference
#include "deflate_tinfl.h"
#include <stdint.h>
Include dependency graph for junzip.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  userdata_t
 
struct  JZFile
 
struct  JZLocalFileHeader
 
struct  JZGlobalFileHeader
 
struct  JZFileHeader
 
struct  JZEndRecord
 

Macros

#define Z_ERRNO   1
 
#define Z_OK   0
 
#define JZ_BUFFER_SIZE   65536
 

Typedefs

typedef struct JZFile JZFile
 
typedef int(* JZRecordCallback )(JZFile *zip, int index, JZFileHeader *header, char *filename, void *user_data)
 

Functions

JZFilejzfile_from_stdio_file (FILE *fp)
 
int jzReadEndRecord (JZFile *zip, JZEndRecord *endRecord)
 
int jzReadCentralDirectory (JZFile *zip, JZEndRecord *endRecord, JZRecordCallback callback, void *user_data)
 
int jzReadLocalFileHeader (JZFile *zip, JZFileHeader *header, char *filename, int len)
 
int jzReadData (JZFile *zip, JZFileHeader *header, void *buffer)
 

Macro Definition Documentation

#define JZ_BUFFER_SIZE   65536
#define Z_ERRNO   1

JUnzip library by Joonas Pihlajamaa (first.nosp@m.name.nosp@m..last.nosp@m.name.nosp@m.@iki..nosp@m.fi). Released into public domain. https://github.com/jokkebk/JUnzip

#define Z_OK   0

Typedef Documentation

typedef struct JZFile JZFile
typedef int(* JZRecordCallback)(JZFile *zip, int index, JZFileHeader *header, char *filename, void *user_data)

Function Documentation

JZFile* jzfile_from_stdio_file ( FILE *  fp)

Here is the call graph for this function:

Here is the caller graph for this function:

int jzReadCentralDirectory ( JZFile zip,
JZEndRecord endRecord,
JZRecordCallback  callback,
void *  user_data 
)

Here is the caller graph for this function:

int jzReadData ( JZFile zip,
JZFileHeader header,
void *  buffer 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int jzReadEndRecord ( JZFile zip,
JZEndRecord endRecord 
)

Here is the caller graph for this function:

int jzReadLocalFileHeader ( JZFile zip,
JZFileHeader header,
char *  filename,
int  len 
)

Here is the caller graph for this function: