altEngine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Functions | Variables
junzip.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "junzip.h"
Include dependency graph for junzip.cpp:

Classes

struct  StdioJZFile
 

Macros

#define TINFL_HEADER_FILE_ONLY
 

Functions

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)
 
static size_t stdio_read_file_handle_read (JZFile *file, void *buf, size_t size)
 
static size_t stdio_read_file_handle_tell (JZFile *file)
 
static int stdio_read_file_handle_seek (JZFile *file, size_t offset, int whence)
 
static int stdio_read_file_handle_error (JZFile *file)
 
static void stdio_read_file_handle_close (JZFile *file)
 
JZFilejzfile_from_stdio_file (FILE *fp)
 

Variables

unsigned char jzBuffer [JZ_BUFFER_SIZE]
 

Macro Definition Documentation

#define TINFL_HEADER_FILE_ONLY

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:

static void stdio_read_file_handle_close ( JZFile file)
static

Here is the caller graph for this function:

static int stdio_read_file_handle_error ( JZFile file)
static

Here is the caller graph for this function:

static size_t stdio_read_file_handle_read ( JZFile file,
void *  buf,
size_t  size 
)
static

Here is the caller graph for this function:

static int stdio_read_file_handle_seek ( JZFile file,
size_t  offset,
int  whence 
)
static

Here is the caller graph for this function:

static size_t stdio_read_file_handle_tell ( JZFile file)
static

Here is the caller graph for this function:

Variable Documentation

unsigned char jzBuffer[JZ_BUFFER_SIZE]