Go to the source code of this file.
Data Structures | |
struct | zlib_filefunc_def_s |
Defines | |
#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 | ZREAD(filefunc, filestream, buf, size) ((*((filefunc).zread_file))((filefunc).opaque,filestream,buf,size)) |
#define | ZWRITE(filefunc, filestream, buf, size) ((*((filefunc).zwrite_file))((filefunc).opaque,filestream,buf,size)) |
#define | ZTELL(filefunc, filestream) ((*((filefunc).ztell_file))((filefunc).opaque,filestream)) |
#define | ZSEEK(filefunc, filestream, pos, mode) ((*((filefunc).zseek_file))((filefunc).opaque,filestream,pos,mode)) |
#define | ZCLOSE(filefunc, filestream) ((*((filefunc).zclose_file))((filefunc).opaque,filestream)) |
#define | ZERROR(filefunc, filestream) ((*((filefunc).zerror_file))((filefunc).opaque,filestream)) |
Typedefs | |
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 |
Functions | |
typedef | voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque |
typedef | uLong (ZCALLBACK *read_file_func) OF((voidpf opaque |
typedef | long (ZCALLBACK *tell_file_func) OF((voidpf opaque |
typedef | int (ZCALLBACK *close_file_func) OF((voidpf opaque |
void fill_fopen_filefunc | OF ((zlib_filefunc_def *pzlib_filefunc_def)) |
#define ZCLOSE | ( | filefunc, | |||
filestream | ) | ((*((filefunc).zclose_file))((filefunc).opaque,filestream)) |
Definition at line 66 of file ioapi.h.
Referenced by unzClose(), and unzOpen2().
#define ZERROR | ( | filefunc, | |||
filestream | ) | ((*((filefunc).zerror_file))((filefunc).opaque,filestream)) |
Definition at line 67 of file ioapi.h.
Referenced by unzlocal_getByte().
#define ZLIB_FILEFUNC_MODE_CREATE (8) |
Definition at line 22 of file ioapi.h.
Referenced by fopen_file_func().
#define ZLIB_FILEFUNC_MODE_EXISTING (4) |
Definition at line 21 of file ioapi.h.
Referenced by fopen_file_func(), and unzOpen2().
#define ZLIB_FILEFUNC_MODE_READ (1) |
Definition at line 17 of file ioapi.h.
Referenced by fopen_file_func(), and unzOpen2().
#define ZLIB_FILEFUNC_MODE_READWRITEFILTER (3) |
Definition at line 19 of file ioapi.h.
Referenced by fopen_file_func().
#define ZLIB_FILEFUNC_SEEK_CUR (1) |
Definition at line 13 of file ioapi.h.
Referenced by fseek_file_func(), and unzlocal_GetCurrentFileInfoInternal().
#define ZLIB_FILEFUNC_SEEK_END (2) |
Definition at line 14 of file ioapi.h.
Referenced by fseek_file_func(), and unzlocal_SearchCentralDir().
#define ZLIB_FILEFUNC_SEEK_SET (0) |
Definition at line 15 of file ioapi.h.
Referenced by fseek_file_func(), unzGetGlobalComment(), unzGetLocalExtrafield(), unzlocal_CheckCurrentFileCoherencyHeader(), unzlocal_GetCurrentFileInfoInternal(), unzlocal_SearchCentralDir(), unzOpen2(), and unzReadCurrentFile().
#define ZREAD | ( | filefunc, | |||
filestream, | |||||
buf, | |||||
size | ) | ((*((filefunc).zread_file))((filefunc).opaque,filestream,buf,size)) |
Definition at line 62 of file ioapi.h.
Referenced by unzGetGlobalComment(), unzGetLocalExtrafield(), unzlocal_getByte(), unzlocal_GetCurrentFileInfoInternal(), unzlocal_SearchCentralDir(), unzOpenCurrentFile3(), and unzReadCurrentFile().
#define ZSEEK | ( | filefunc, | |||
filestream, | |||||
pos, | |||||
mode | ) | ((*((filefunc).zseek_file))((filefunc).opaque,filestream,pos,mode)) |
Definition at line 65 of file ioapi.h.
Referenced by unzGetGlobalComment(), unzGetLocalExtrafield(), unzlocal_CheckCurrentFileCoherencyHeader(), unzlocal_GetCurrentFileInfoInternal(), unzlocal_SearchCentralDir(), unzOpen2(), unzOpenCurrentFile3(), and unzReadCurrentFile().
#define ZTELL | ( | filefunc, | |||
filestream | ) | ((*((filefunc).ztell_file))((filefunc).opaque,filestream)) |
Definition at line 64 of file ioapi.h.
Referenced by unzlocal_SearchCentralDir().
typedef struct zlib_filefunc_def_s zlib_filefunc_def |
typedef int | ( | ZCALLBACK * | close_file_func | ) |
Referenced by _ase_load(), _mxml_entity_cb(), actorL_shoot(), AII_UpdateAircraftStats(), AIL_positionshoot(), AIR_AircraftMakeMove(), AIR_GetOperationRange(), AIR_ParseAircraft(), AngleNormalize360(), B_BuildingDestroy(), Check_InfoStartAligned(), CHRSH_CharGenAbilitySkills(), CIN_OGM_LoadAudioFrame(), CL_AircraftMenuStatsValues(), CL_CampaignRun(), CL_CampaignRunMarket(), CL_ChangeIndividualInterest(), CL_HTTP_Progress(), CL_LookupErrorFunction(), CL_NationDrawStats(), CL_NationStatsUpdate_f(), CL_ParsePtlCmds(), CL_ParticleFunction(), CL_ParticleRun2(), CL_StatsUpdate_f(), Com_ParseValue(), Com_SetValue(), CP_ChooseNation(), CP_MissionChooseUFO(), CP_NationHandleBudget(), CP_SpawnNewMissions(), db_errorfb(), ED_CheckNumber(), ED_ProcessRanges(), FindEdgeVerts(), G_GetStartingTeam(), G_Morale(), G_UpdateCharacterSkills(), getfield(), GetPlaneHashValueForDistance(), HashVec(), LoadPNG(), luaL_ref(), MAP_3DMapToScreen(), PicoModuleLoadModelStream(), propagatemark(), R_Draw3DGlobe(), R_DrawChar(), R_DrawPtlCircle(), R_InitFBObjects(), R_ModAddMapTile(), R_ModLoadTags(), R_ScaleTexture(), R_StageColor(), S_SpatializeChannel(), SEQ_Render2D(), str_byte(), UI_ContainerNodeGetItemAtPosition(), UI_EKGNodeDraw(), UI_LineChartNodeDraw(), UI_NodeGetPoint(), UI_TextNodeGetLine(), UI_WindowNodeDoLayout(), unzlocal_getByte(), unzOpenCurrentFile3(), UR_DialogInitSell_f(), UR_DialogStartStore_f(), and VecToAngles().
typedef long | ( | ZCALLBACK * | tell_file_func | ) |
Referenced by CIN_OGM_Init(), and Sys_Sleep().
void fill_fopen_filefunc OF | ( | (zlib_filefunc_def *pzlib_filefunc_def) | ) |
typedef uLong | ( | ZCALLBACK * | read_file_func | ) |
Referenced by fread_file_func(), fwrite_file_func(), unzGetGlobalComment(), unzGetLocalExtrafield(), unzlocal_CheckCurrentFileCoherencyHeader(), unzlocal_DosDateToTmuDate(), unzlocal_GetCurrentFileInfoInternal(), unzlocal_getLong(), unzlocal_getShort(), unzlocal_SearchCentralDir(), unzLocateFile(), unzOpen2(), unzOpenCurrentFile3(), and unzReadCurrentFile().
typedef voidpf | ( | ZCALLBACK * | open_file_func | ) |
Referenced by unzOpenCurrentFile3().