unzip.c File Reference

Go to the source code of this file.

Classes

struct  unz_file_info_internal_s
struct  file_in_zip_read_info_s
struct  unz_s

Typedefs

typedef struct
unz_file_info_internal_s 
unz_file_info_internal

Functions

local int unzlocal_getByte (FILE *fin, int *pi)
local int unzlocal_getShort (FILE *fin, uLong *pX)
local int unzlocal_getLong (FILE *fin, uLong *pX)
local int strcmpcasenosensitive_internal (char *fileName1, const char *fileName2) const
int ZEXPORT unzStringFileNameCompare (char *fileName1, const char *fileName2, int iCaseSensitivity) const
local uLong unzlocal_SearchCentralDir (FILE *fin)
unzFile ZEXPORT unzOpen (char *path) const
int ZEXPORT unzClose (unzFile file)
int ZEXPORT unzGetGlobalInfo (unzFile file, unz_global_info *pglobal_info)
local void unzlocal_DosDateToTmuDate (uLong ulDosDate, tm_unz *ptm)
local int
unzlocal_GetCurrentFileInfoInternal 
OF ((unzFile file, unz_file_info *pfile_info, unz_file_info_internal *pfile_info_internal, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize))
local int unzlocal_GetCurrentFileInfoInternal (unzFile file, unz_file_info *pfile_info, unz_file_info_internal *pfile_info_internal, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize)
int ZEXPORT unzGetCurrentFileInfo (unzFile file, unz_file_info *pfile_info, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize)
int ZEXPORT unzGoToFirstFile (unzFile file)
int ZEXPORT unzGoToNextFile (unzFile file)
int ZEXPORT unzLocateFile (unzFile file, const char *szFileName, int iCaseSensitivity)
local int unzlocal_CheckCurrentFileCoherencyHeader (unz_s *s, uInt *piSizeVar, uLong *poffset_local_extrafield, uInt *psize_local_extrafield)
int ZEXPORT unzOpenCurrentFile (unzFile file)
int ZEXPORT unzReadCurrentFile (unzFile file, voidp buf, unsigned len)
z_off_t ZEXPORT unztell (unzFile file)
int ZEXPORT unzeof (unzFile file)
int ZEXPORT unzGetLocalExtrafield (unzFile file, voidp buf, unsigned len)
int ZEXPORT unzCloseCurrentFile (unzFile file)
int ZEXPORT unzGetGlobalComment (unzFile file, char *szComment, uLong uSizeBuf)

Variables

int errno
const char unz_copyright []


Typedef Documentation


Function Documentation

local int unzlocal_getByte ( FILE *  fin,
int *  pi 
)

Definition at line 136 of file unzip.c.

Referenced by unzlocal_getLong(), and unzlocal_getShort().

local int unzlocal_getShort ( FILE*  fin,
uLong *  pX 
)

local int unzlocal_getLong ( FILE*  fin,
uLong *  pX 
)

local int strcmpcasenosensitive_internal ( char*  fileName1,
const char*  fileName2 
) const

Definition at line 214 of file unzip.c.

int ZEXPORT unzStringFileNameCompare ( char*  fileName1,
const char*  fileName2,
int  iCaseSensitivity 
) const

Definition at line 257 of file unzip.c.

Referenced by unzLocateFile().

local uLong unzlocal_SearchCentralDir ( FILE *  fin  ) 

Definition at line 277 of file unzip.c.

Referenced by unzOpen().

unzFile ZEXPORT unzOpen ( char *  path  )  const

Definition at line 342 of file unzip.c.

Referenced by crcinfo().

int ZEXPORT unzClose ( unzFile  file  ) 

Definition at line 441 of file unzip.c.

Referenced by crcinfo().

int ZEXPORT unzGetGlobalInfo ( unzFile  file,
unz_global_info pglobal_info 
)

Definition at line 462 of file unzip.c.

local void unzlocal_DosDateToTmuDate ( uLong  ulDosDate,
tm_unz ptm 
)

Definition at line 478 of file unzip.c.

Referenced by unzlocal_GetCurrentFileInfoInternal().

local int unzlocal_GetCurrentFileInfoInternal OF ( (unzFile file, unz_file_info *pfile_info, unz_file_info_internal *pfile_info_internal, char *szFileName, uLong fileNameBufferSize, void *extraField, uLong extraFieldBufferSize, char *szComment, uLong commentBufferSize)   ) 

local int unzlocal_GetCurrentFileInfoInternal ( unzFile  file,
unz_file_info pfile_info,
unz_file_info_internal pfile_info_internal,
char *  szFileName,
uLong  fileNameBufferSize,
void *  extraField,
uLong  extraFieldBufferSize,
char *  szComment,
uLong  commentBufferSize 
)

Definition at line 507 of file unzip.c.

Referenced by unzGetCurrentFileInfo(), unzGoToFirstFile(), and unzGoToNextFile().

int ZEXPORT unzGetCurrentFileInfo ( unzFile  file,
unz_file_info pfile_info,
char *  szFileName,
uLong  fileNameBufferSize,
void *  extraField,
uLong  extraFieldBufferSize,
char *  szComment,
uLong  commentBufferSize 
)

Definition at line 677 of file unzip.c.

Referenced by crcinfo(), and unzLocateFile().

int ZEXPORT unzGoToFirstFile ( unzFile  file  ) 

Definition at line 701 of file unzip.c.

Referenced by crcinfo(), unzLocateFile(), and unzOpen().

int ZEXPORT unzGoToNextFile ( unzFile  file  ) 

Definition at line 724 of file unzip.c.

Referenced by crcinfo(), and unzLocateFile().

int ZEXPORT unzLocateFile ( unzFile  file,
const char *  szFileName,
int  iCaseSensitivity 
)

Definition at line 757 of file unzip.c.

local int unzlocal_CheckCurrentFileCoherencyHeader ( unz_s s,
uInt*  piSizeVar,
uLong *  poffset_local_extrafield,
uInt *  psize_local_extrafield 
)

Definition at line 810 of file unzip.c.

Referenced by unzOpenCurrentFile().

int ZEXPORT unzOpenCurrentFile ( unzFile  file  ) 

Definition at line 901 of file unzip.c.

Referenced by crcinfo().

int ZEXPORT unzReadCurrentFile ( unzFile  file,
voidp  buf,
unsigned  len 
)

Definition at line 1002 of file unzip.c.

Referenced by crcinfo().

z_off_t ZEXPORT unztell ( unzFile  file  ) 

Definition at line 1129 of file unzip.c.

int ZEXPORT unzeof ( unzFile  file  ) 

Definition at line 1149 of file unzip.c.

int ZEXPORT unzGetLocalExtrafield ( unzFile  file,
voidp  buf,
unsigned  len 
)

Definition at line 1182 of file unzip.c.

int ZEXPORT unzCloseCurrentFile ( unzFile  file  ) 

Definition at line 1229 of file unzip.c.

Referenced by crcinfo(), unzClose(), and unzOpenCurrentFile().

int ZEXPORT unzGetGlobalComment ( unzFile  file,
char *  szComment,
uLong  uSizeBuf 
)

Definition at line 1271 of file unzip.c.


Variable Documentation

int errno

Referenced by audio_read_packet(), audio_write_packet(), ChannelBase::ChangeExternalChannel(), DeviceReadBuffer::CheckForErrors(), checkProcess(), VideoOutputIvtv::ClearOSD(), CompleteJob(), commDetector2::createDebugDirectory(), delete_file_immediately(), device_open(), ThreadedFileWriter::DiskLoop(), DBUtil::DoBackup(), JobQueue::DoTranscodeThread(), NuppelVideoRecorder::DoV4L2(), drmWaitVBlank(), dv1394_read_packet(), exc_throw(), FileMove(), get_guid(), GetIPAddressList(), grab_read_header(), FillData::grabData(), ZMServer::handleGetAnalyseFrame(), ZMServer::handleGetEventFrame(), VideoOutputIvtv::Init(), ZMServer::initMonitor(), log_rotate(), main(), mmap_init(), mmap_read_frame(), mmap_start(), myth_system(), Channel::Open(), AudioOutputOSS::OpenDevice(), NuppelDecoder::OpenFile(), VideoOutputIvtv::Pause(), pgm_read(), pgm_write(), VideoOutputIvtv::Play(), poll(), DeviceReadBuffer::Poll(), DVBConfigurationGroup::probeCard(), readData(), readMatches(), cCiTransportConnection::RecvTPDU(), DVBStreamHandler::RunTS(), RingBuffer::safe_read(), safe_read(), safe_write(), sendfile64(), HTTPRequest::SendResponseFile(), Channel::SetInputAndFormat(), MpegRecorder::SetIVTVDeviceOptions(), setupStreamSocket(), VideoOutputIvtv::Start(), MpegRecorder::StartRecording(), VideoOutputIvtv::Step(), VideoOutputIvtv::Stop(), tcp_read(), tcp_write(), MythCDROMLinux::testMedia(), MythCDROMFreeBSD::testMedia(), RTCVideoSync::TryInit(), nVidiaVideoSync::TryInit(), DRMVideoSync::TryInit(), Channel::Tune(), v4l_mm_read_picture(), wait_for_backend(), AudioOutputOSS::WriteAudio(), VideoOutputIvtv::WriteBuffer(), writeData(), writeJPG(), and writeMatches().

const char unz_copyright[]

Initial value:

   " unzip 0.15 Copyright 1998 Gilles Vollant "

Definition at line 72 of file unzip.c.

Referenced by unzOpen().


Generated on Sat Sep 4 05:15:56 2010 for MythTV by  doxygen 1.5.5