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 MSocketDevice::accept(), MSocketDevice::bind(), DeviceReadBuffer::CheckForErrors(), MythCDROMLinux::checkMedia(), checkProcess(), MSocketDevice::connect(), MSocketDevice::createNewSocket(), ThreadedFileWriter::DiskLoop(), do_scan(), NuppelVideoRecorder::DoV4L2(), drmWaitVBlank(), DVDFileStat(), exc_throw(), FIFOWriter::FIFOWriteThread(), FileMove(), find_all_pids_file(), find_pes_ids(), find_pids_file(), MythSystemUnix::Fork(), LIRC::GetCodes(), AvFormatDecoder::GetFrame(), ZMServer::handleDeleteEvent(), ZMServer::handleGetAnalyseFrame(), ZMServer::handleGetEventFrame(), MythSystemIOHandler::HandleRead(), ZMServer::handleRunZMAudit(), MythSystemIOHandler::HandleWrite(), hdhomerun_sock_connect(), hdhomerun_sock_getlasterror(), hdhomerun_sock_recv(), hdhomerun_sock_recvfrom(), hdhomerun_sock_send(), hdhomerun_sock_sendto(), init_replex(), ZMServer::initMonitor(), lirc_nextcode(), lirc_open(), lirc_read_string(), lirc_readconfig_only_internal(), lirc_send_command(), myth_nice(), mythfile_open(), DVBChannel::Open(), AudioOutputOSS::OpenDevice(), NuppelDecoder::OpenFile(), MSocketDevice::option(), pgm_read(), pgm_write(), DeviceReadBuffer::Poll(), DVBConfigurationGroup::probeCard(), MSocketDevice::readData(), readdir_r(), RingBuffer::ReadPriv(), cCiTransportConnection::RecvTPDU(), replex_fill_buffers(), MythSystemIOHandler::run(), MpegRecorder::run(), LIRC::run(), ASIStreamHandler::run(), DVBStreamHandler::RunTS(), FileRingBuffer::safe_read(), DVDRingBuffer::safe_read(), safe_read(), FileRingBuffer::Seek(), DVDRingBuffer::Seek(), BDRingBuffer::Seek(), HTTPRequest::SendResponseFile(), MSocketDevice::setBlocking(), MSocketDevice::setOption(), setup_pipe(), setupStreamSocket(), MpegRecorder::StartEncoding(), MpegRecorder::StopEncoding(), MythCDROMLinux::testMedia(), MythCDROMFreeBSD::testMedia(), DRMVideoSync::TryInit(), V4LChannel::Tune(), wait_for_backend(), DeviceReadBuffer::WakePoll(), MythSocketThread::WakeReadyReadThread(), MSocketDevice::writeBlock(), and MSocketDevice::writeData().

const char unz_copyright[]
Initial value:
   " unzip 0.15 Copyright 1998 Gilles Vollant "

Definition at line 72 of file unzip.c.

Referenced by unzOpen().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:41:49 2012 for MythTV by  doxygen 1.6.3