![]() |
Oolite 1.91.0.7658-250404-b1488af
|
#include <stdio.h>
#include <stdlib.h>
#include "zlib.h"
Go to the source code of this file.
Classes | |
struct | zlib_filefunc_def_s |
struct | zlib_filefunc64_def_s |
struct | zlib_filefunc64_32_def_s |
Macros | |
#define | __USE_FILE_OFFSET64 |
#define | __USE_LARGEFILE64 |
#define | _LARGEFILE64_SOURCE |
#define | _FILE_OFFSET_BIT 64 |
#define | ZLIB_FILEFUNC_SEEK_CUR (1) |
#define | ZLIB_FILEFUNC_SEEK_END (2) |
#define | ZLIB_FILEFUNC_SEEK_SET (0) |
#define | ZLIB_FILEFUNC_MODE_READ (1) |
#define | ZLIB_FILEFUNC_MODE_WRITE (2) |
#define | ZLIB_FILEFUNC_MODE_READWRITEFILTER (3) |
#define | ZLIB_FILEFUNC_MODE_EXISTING (4) |
#define | ZLIB_FILEFUNC_MODE_CREATE (8) |
#define | ZCALLBACK |
#define | ZREAD64(filefunc, filestream, buf, size) |
#define | ZWRITE64(filefunc, filestream, buf, size) |
#define | ZCLOSE64(filefunc, filestream) |
#define | ZERROR64(filefunc, filestream) |
#define | ZOPEN64(filefunc, filename, mode) |
#define | ZTELL64(filefunc, filestream) |
#define | ZSEEK64(filefunc, filestream, pos, mode) |
Typedefs | |
typedef unsigned long long int | ZPOS64_T |
typedef const char * | filename |
typedef const char int | mode |
typedef voidpf | stream |
typedef voidpf void * | buf |
typedef voidpf void uLong | size |
typedef voidpf uLong | offset |
typedef voidpf uLong int | origin |
typedef struct zlib_filefunc_def_s | zlib_filefunc_def |
typedef struct zlib_filefunc64_def_s | zlib_filefunc64_def |
typedef struct zlib_filefunc64_32_def_s | zlib_filefunc64_32_def |
Functions | |
typedef | voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque |
typedef | uLong (ZCALLBACK *read_file_func) OF((voidpf opaque |
typedef | int (ZCALLBACK *close_file_func) OF((voidpf opaque |
typedef | long (ZCALLBACK *tell_file_func) OF((voidpf opaque |
typedef | ZPOS64_T (ZCALLBACK *tell64_file_func) OF((voidpf opaque |
void fill_fopen64_filefunc | OF ((zlib_filefunc64_def *pzlib_filefunc_def)) |
void fill_fopen_filefunc | OF ((zlib_filefunc_def *pzlib_filefunc_def)) |
voidpf call_zopen64 | OF ((const zlib_filefunc64_32_def *pfilefunc, const void *filename, int mode)) |
long call_zseek64 | OF ((const zlib_filefunc64_32_def *pfilefunc, voidpf filestream, ZPOS64_T offset, int origin)) |
ZPOS64_T call_ztell64 | OF ((const zlib_filefunc64_32_def *pfilefunc, voidpf filestream)) |
void | fill_zlib_filefunc64_32_def_from_filefunc32 (zlib_filefunc64_32_def *p_filefunc64_32, const zlib_filefunc_def *p_filefunc32) |
#define ZCALLBACK |
Definition at line 126 of file ioapi.h.
Referenced by fclose_file_func(), ferror_file_func(), fopen64_file_func(), fopen_file_func(), fread_file_func(), fseek64_file_func(), fseek_file_func(), ftell64_file_func(), ftell_file_func(), fwrite_file_func(), int(), long(), OF(), OF(), OF(), OF(), OF(), and ZPOS64_T().
#define ZCLOSE64 | ( | filefunc, | |
filestream ) |
Definition at line 189 of file ioapi.h.
Referenced by unzClose(), and unzOpenInternal().
#define ZERROR64 | ( | filefunc, | |
filestream ) |
Definition at line 190 of file ioapi.h.
Referenced by unz64local_getByte().
#define ZLIB_FILEFUNC_MODE_CREATE (8) |
Definition at line 119 of file ioapi.h.
Referenced by fopen64_file_func(), and fopen_file_func().
#define ZLIB_FILEFUNC_MODE_EXISTING (4) |
Definition at line 118 of file ioapi.h.
Referenced by fopen64_file_func(), fopen_file_func(), and unzOpenInternal().
#define ZLIB_FILEFUNC_MODE_READ (1) |
Definition at line 114 of file ioapi.h.
Referenced by fopen64_file_func(), fopen_file_func(), and unzOpenInternal().
#define ZLIB_FILEFUNC_MODE_READWRITEFILTER (3) |
Definition at line 116 of file ioapi.h.
Referenced by fopen64_file_func(), and fopen_file_func().
#define ZLIB_FILEFUNC_SEEK_CUR (1) |
Definition at line 110 of file ioapi.h.
Referenced by fseek64_file_func(), fseek_file_func(), and unz64local_GetCurrentFileInfoInternal().
#define ZLIB_FILEFUNC_SEEK_END (2) |
Definition at line 111 of file ioapi.h.
Referenced by fseek64_file_func(), fseek_file_func(), unz64local_SearchCentralDir(), and unz64local_SearchCentralDir64().
#define ZLIB_FILEFUNC_SEEK_SET (0) |
Definition at line 112 of file ioapi.h.
Referenced by fseek64_file_func(), fseek_file_func(), unz64local_CheckCurrentFileCoherencyHeader(), unz64local_GetCurrentFileInfoInternal(), unz64local_SearchCentralDir(), unz64local_SearchCentralDir64(), unzGetGlobalComment(), unzGetLocalExtrafield(), unzOpenInternal(), and unzReadCurrentFile().
Definition at line 198 of file ioapi.h.
Referenced by unzOpenInternal().
Definition at line 185 of file ioapi.h.
Referenced by unz64local_getByte(), unz64local_GetCurrentFileInfoInternal(), unz64local_SearchCentralDir(), unz64local_SearchCentralDir64(), unzGetGlobalComment(), unzGetLocalExtrafield(), unzOpenCurrentFile3(), and unzReadCurrentFile().
#define ZSEEK64 | ( | filefunc, | |
filestream, | |||
pos, | |||
mode ) |
Definition at line 200 of file ioapi.h.
Referenced by unz64local_CheckCurrentFileCoherencyHeader(), unz64local_GetCurrentFileInfoInternal(), unz64local_SearchCentralDir(), unz64local_SearchCentralDir64(), unzGetGlobalComment(), unzGetLocalExtrafield(), unzOpenCurrentFile3(), unzOpenInternal(), and unzReadCurrentFile().
#define ZTELL64 | ( | filefunc, | |
filestream ) |
Definition at line 199 of file ioapi.h.
Referenced by unz64local_SearchCentralDir(), and unz64local_SearchCentralDir64().
typedef struct zlib_filefunc64_32_def_s zlib_filefunc64_32_def |
typedef struct zlib_filefunc64_def_s zlib_filefunc64_def |
typedef struct zlib_filefunc_def_s zlib_filefunc_def |
void fill_zlib_filefunc64_32_def_from_filefunc32 | ( | zlib_filefunc64_32_def * | p_filefunc64_32, |
const zlib_filefunc_def * | p_filefunc32 ) |
Definition at line 64 of file ioapi.c.
References zlib_filefunc64_def_s::opaque, zlib_filefunc_def_s::opaque, zlib_filefunc64_def_s::zclose_file, zlib_filefunc_def_s::zclose_file, zlib_filefunc64_def_s::zerror_file, zlib_filefunc_def_s::zerror_file, zlib_filefunc64_32_def_s::zfile_func64, zlib_filefunc64_32_def_s::zopen32_file, zlib_filefunc64_def_s::zopen64_file, zlib_filefunc_def_s::zopen_file, zlib_filefunc64_def_s::zread_file, zlib_filefunc_def_s::zread_file, zlib_filefunc64_32_def_s::zseek32_file, zlib_filefunc64_def_s::zseek64_file, zlib_filefunc_def_s::zseek_file, zlib_filefunc64_32_def_s::ztell32_file, zlib_filefunc64_def_s::ztell64_file, zlib_filefunc_def_s::ztell_file, zlib_filefunc64_def_s::zwrite_file, and zlib_filefunc_def_s::zwrite_file.
Referenced by unzOpen2().
typedef int | ( | ZCALLBACK * | close_file_func | ) |
References ZCALLBACK.
Referenced by Universe::airResistanceFactor, PlayerEntity::alertFlags, ShipEntity::bounty, ShipEntity::checkShipsInVicinityForWitchJumpExit, Universe::colorblindMode, PlayerEntity::commanderDataDictionary, PlayerEntity(Contracts)::contractReputation, ShipEntity::coordinates, Universe::currentPostFX, ShipEntity::damage, PlayerEntity(StickMapperInternal)::displayFunctionList:skip:, PlayerEntity(KeyMapperInternal)::displayKeyboardLayoutList:skip:, PlayerEntity(KeyMapperInternal)::displayKeyFunctionList:skip:, HeadUpDisplay(Private)::drawAltitudeBar:, HeadUpDisplay(Private)::drawCabinTempBar:, GuiDisplayGen::drawGUI:drawCursor:, HeadUpDisplay(Private)::drawScanner:, MyOpenGLView::findDisplayModeForWidth:Height:Refresh:, PlayerEntity(OOLoadSavePrivate)::findIndexOfCommander:, Universe::framesDoneThisUpdate, PlayerEntity::getFined, PlayerEntity(Controls)::getFirstKeyCode:, Universe::getSafeVectorFromEntity:toDistance:fromPoint:, PlayerEntity(OOControlsPrivate)::handleGameOptionsScreenKeys, HeadUpDisplay::hudDrawReticleOnTarget, MyOpenGLView::indexOfCurrentSize, OOMacJoystickManager::init, MyOpenGLView::isAlphabetKeyDown, PlayerEntity::isSpeechOn, RouteElement::jumps, OOCharacter::legalStatus, ShipEntity::legalStatus, OOMesh(Private)::loadData:scaleFactor:, MyOpenGLView::loadFullscreenSettings, marketSorterByMassUnit(), marketSorterByPrice(), marketSorterByQuantity(), ShipEntity::maxFlightSpeed, ShipEntity::missedShots, MyOpenGLView::modeAsSize:, MyOpenGLView::mouseWheelState, mz_zip_filename_compare(), mz_zip_reader_locate_header_sig(), Universe::nextColorblindMode:, ShipEntity::numberOfScannedShips, MyOpenGLView::numKeys, NSArray(OOExtractor)::oo_intAtIndex:, NSArray(OOExtractor)::oo_intAtIndex:defaultValue:, NSDictionary(OOExtractor)::oo_intForKey:, NSUserDefaults(OOExtractor)::oo_intForKey:, NSDictionary(OOExtractor)::oo_intForKey:defaultValue:, NSUserDefaults(OOExtractor)::oo_intForKey:defaultValue:, NSDictionary(OOMateralProperties)::oo_rawSpecularExponentValue, NSDictionary(OOMateralProperties)::oo_specularExponent, NSArray(OOExtractor)::oo_unsignedIntAtIndex:, NSArray(OOExtractor)::oo_unsignedIntAtIndex:defaultValue:, NSDictionary(OOExtractor)::oo_unsignedIntForKey:, NSUserDefaults(OOExtractor)::oo_unsignedIntForKey:, NSDictionary(OOExtractor)::oo_unsignedIntForKey:defaultValue:, NSUserDefaults(OOExtractor)::oo_unsignedIntForKey:defaultValue:, PlayerEntity(Contracts)::parcelReputation, PlayerEntity(Contracts)::passengerReputation, PlayerShipSetProperty(), Universe::prevColorblindMode:, PlayerEntity::random_factor, OOALSoundVorbisCodec::readCreatingBuffer:withFrameCount:, PlayerEntity::removeMissiles, GuiDisplayGen::resizeTo:characterHeight:title:, GuiDisplayGen::rowStart, OOVisualEffectEntity::scaleZ, GuiDisplayGen::selectableRange, OOProbabilisticTextureManager::selectTexture, PlayerEntity::setBounty:withReasonAsString:, PlayerEntity::setGuiToGameOptionsScreen, PlayerEntity(Contracts)::setGuiToShipyardScreen:, PlayerEntity::setTrumbleValueFrom:, OOTrumble::setupForPlayer:digram:, OOVisualEffectEntity::shaderInt1, OOVisualEffectEntity::shaderInt2, PlayerEntity::shipCommodityData, ShipRestoreSubEntities(), StickProfileScreen(StickProfileInternal)::showScreen, OOShaderUniformTypeMethodSignatureTemplateClass::signedCharMethod, OOShaderUniformTypeMethodSignatureTemplateClass::signedIntMethod, ShipEntity::sunGlareFilter, tdefl_flush_block(), tdefl_start_dynamic_block(), tinfl_decompress(), PlayerEntity::tradeInFactor, ProxyPlayerEntity::tradeInFactor, MyOpenGLView(Internal)::translateKeyCode:, OOShaderUniformTypeMethodSignatureTemplateClass::unsignedIntMethod, unz64local_getByte(), unzOpenCurrentFile3(), and PlayerEntity(OOPrivate)::updateClocks:.
typedef long | ( | ZCALLBACK * | tell_file_func | ) |
References ZCALLBACK.
Referenced by OODebugMonitor::configurationIntValueForKey:defaultValue:, OOMacDebugger::configurationIntValueForKey:defaultValue:, NSArray(OOExtractor)::oo_longAtIndex:, NSArray(OOExtractor)::oo_longAtIndex:defaultValue:, NSDictionary(OOExtractor)::oo_longForKey:, NSUserDefaults(OOExtractor)::oo_longForKey:, NSDictionary(OOExtractor)::oo_longForKey:defaultValue:, NSUserDefaults(OOExtractor)::oo_longForKey:defaultValue:, NSArray(OOExtractor)::oo_longLongAtIndex:, NSArray(OOExtractor)::oo_longLongAtIndex:defaultValue:, NSDictionary(OOExtractor)::oo_longLongForKey:, NSUserDefaults(OOExtractor)::oo_longLongForKey:, NSDictionary(OOExtractor)::oo_longLongForKey:defaultValue:, NSUserDefaults(OOExtractor)::oo_longLongForKey:defaultValue:, NSArray(OOExtractor)::oo_unsignedLongAtIndex:, NSArray(OOExtractor)::oo_unsignedLongAtIndex:defaultValue:, NSDictionary(OOExtractor)::oo_unsignedLongForKey:, NSUserDefaults(OOExtractor)::oo_unsignedLongForKey:, NSDictionary(OOExtractor)::oo_unsignedLongForKey:defaultValue:, NSUserDefaults(OOExtractor)::oo_unsignedLongForKey:defaultValue:, NSArray(OOExtractor)::oo_unsignedLongLongAtIndex:, NSArray(OOExtractor)::oo_unsignedLongLongAtIndex:defaultValue:, NSDictionary(OOExtractor)::oo_unsignedLongLongForKey:, NSUserDefaults(OOExtractor)::oo_unsignedLongLongForKey:, NSDictionary(OOExtractor)::oo_unsignedLongLongForKey:defaultValue:, NSUserDefaults(OOExtractor)::oo_unsignedLongLongForKey:defaultValue:, OOALSoundDecoder::sampleRate, OOALSoundVorbisCodec::sampleRate, OOShaderUniformTypeMethodSignatureTemplateClass::signedCharMethod, OOShaderUniformTypeMethodSignatureTemplateClass::signedLongMethod, and OOShaderUniformTypeMethodSignatureTemplateClass::unsignedLongMethod.
voidpf call_zopen64 OF | ( | (const zlib_filefunc64_32_def *pfilefunc, const void *filename, int mode) | ) |
ZPOS64_T call_ztell64 OF | ( | (const zlib_filefunc64_32_def *pfilefunc, voidpf filestream) | ) |
long call_zseek64 OF | ( | (const zlib_filefunc64_32_def *pfilefunc, voidpf filestream, ZPOS64_T offset, int origin) | ) |
void fill_fopen64_filefunc OF | ( | (zlib_filefunc64_def *pzlib_filefunc_def) | ) |
void fill_fopen_filefunc OF | ( | (zlib_filefunc_def *pzlib_filefunc_def) | ) |