UFO: Alien Invasion
Loading...
Searching...
No Matches
ioapi.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  zlib_filefunc_def

Macros

#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 OF(args)
#define ZREAD(filefunc, filestream, buf, size)
#define ZWRITE(filefunc, filestream, buf, size)
#define ZTELL(filefunc, filestream)
#define ZSEEK(filefunc, filestream, pos, mode)
#define ZCLOSE(filefunc, filestream)
#define ZERROR(filefunc, filestream)

Typedefs

typedef const char * filename
typedef const char int mode
typedef voidpf stream
typedef voidpf voidbuf
typedef voidpf void uLong size
typedef voidpf uLong offset
typedef voidpf uLong int origin

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))

Macro Definition Documentation

◆ OF

#define OF ( args)
Value:
args

Definition at line 34 of file ioapi.h.

◆ ZCALLBACK

◆ ZCLOSE

#define ZCLOSE ( filefunc,
filestream )
Value:
((*((filefunc).zclose_file))((filefunc).opaque,filestream))

Definition at line 69 of file ioapi.h.

Referenced by unzClose(), and unzOpen2().

◆ ZERROR

#define ZERROR ( filefunc,
filestream )
Value:
((*((filefunc).zerror_file))((filefunc).opaque,filestream))

Definition at line 70 of file ioapi.h.

Referenced by unzlocal_getByte().

◆ ZLIB_FILEFUNC_MODE_CREATE

#define ZLIB_FILEFUNC_MODE_CREATE   (8)

Definition at line 21 of file ioapi.h.

Referenced by fopen_file_func().

◆ ZLIB_FILEFUNC_MODE_EXISTING

#define ZLIB_FILEFUNC_MODE_EXISTING   (4)

Definition at line 20 of file ioapi.h.

Referenced by fopen_file_func(), and unzOpen2().

◆ ZLIB_FILEFUNC_MODE_READ

#define ZLIB_FILEFUNC_MODE_READ   (1)

Definition at line 16 of file ioapi.h.

Referenced by fopen_file_func(), and unzOpen2().

◆ ZLIB_FILEFUNC_MODE_READWRITEFILTER

#define ZLIB_FILEFUNC_MODE_READWRITEFILTER   (3)

Definition at line 18 of file ioapi.h.

Referenced by fopen_file_func().

◆ ZLIB_FILEFUNC_MODE_WRITE

#define ZLIB_FILEFUNC_MODE_WRITE   (2)

Definition at line 17 of file ioapi.h.

◆ ZLIB_FILEFUNC_SEEK_CUR

#define ZLIB_FILEFUNC_SEEK_CUR   (1)

Definition at line 12 of file ioapi.h.

Referenced by fseek_file_func(), and unzlocal_GetCurrentFileInfoInternal().

◆ ZLIB_FILEFUNC_SEEK_END

#define ZLIB_FILEFUNC_SEEK_END   (2)

Definition at line 13 of file ioapi.h.

Referenced by fseek_file_func(), and unzlocal_SearchCentralDir().

◆ ZLIB_FILEFUNC_SEEK_SET

◆ ZREAD

#define ZREAD ( filefunc,
filestream,
buf,
size )
Value:
((*((filefunc).zread_file))((filefunc).opaque,filestream,buf,size))
voidpf void uLong size
Definition ioapi.h:42
voidpf void * buf
Definition ioapi.h:42

Definition at line 65 of file ioapi.h.

Referenced by unzGetGlobalComment(), unzGetLocalExtrafield(), unzlocal_getByte(), unzlocal_GetCurrentFileInfoInternal(), unzlocal_SearchCentralDir(), unzOpenCurrentFile3(), and unzReadCurrentFile().

◆ ZSEEK

#define ZSEEK ( filefunc,
filestream,
pos,
mode )
Value:
((*((filefunc).zseek_file))((filefunc).opaque,filestream,pos,mode))
const char int mode
Definition ioapi.h:41

Definition at line 68 of file ioapi.h.

Referenced by unzGetGlobalComment(), unzGetLocalExtrafield(), unzlocal_CheckCurrentFileCoherencyHeader(), unzlocal_GetCurrentFileInfoInternal(), unzlocal_SearchCentralDir(), unzOpen2(), unzOpenCurrentFile3(), and unzReadCurrentFile().

◆ ZTELL

#define ZTELL ( filefunc,
filestream )
Value:
((*((filefunc).ztell_file))((filefunc).opaque,filestream))

Definition at line 67 of file ioapi.h.

Referenced by unzlocal_SearchCentralDir().

◆ ZWRITE

#define ZWRITE ( filefunc,
filestream,
buf,
size )
Value:
((*((filefunc).zwrite_file))((filefunc).opaque,filestream,buf,size))

Definition at line 66 of file ioapi.h.

Typedef Documentation

◆ buf

typedef voidpf const void * buf

Definition at line 42 of file ioapi.h.

◆ filename

typedef const char* filename

Definition at line 41 of file ioapi.h.

◆ mode

typedef const char int mode

Definition at line 41 of file ioapi.h.

◆ offset

typedef voidpf uLong offset

Definition at line 45 of file ioapi.h.

◆ origin

Definition at line 45 of file ioapi.h.

◆ size

typedef voidpf const void uLong size

Definition at line 42 of file ioapi.h.

◆ stream

typedef voidpf stream

Definition at line 42 of file ioapi.h.

Function Documentation

◆ int()

typedef int ( ZCALLBACK * close_file_func)

References voidpf(), and ZCALLBACK.

Referenced by _wrap_cvar_as_integer(), _wrap_dprint(), _wrap_error(), _wrap_getvar__SWIG_0(), _wrap_getvar__SWIG_1(), _wrap_uiAbstractOptionNode_count(), _wrap_uiAbstractOptionNode_current(), _wrap_uiAbstractOptionNode_dataid(), _wrap_uiAbstractOptionNode_fullsize(), _wrap_uiAbstractOptionNode_lineheight(), _wrap_uiAbstractOptionNode_set_current(), _wrap_uiAbstractOptionNode_set_dataid(), _wrap_uiAbstractOptionNode_set_fullsize(), _wrap_uiAbstractOptionNode_set_lineheight(), _wrap_uiAbstractOptionNode_set_viewsize(), _wrap_uiAbstractOptionNode_viewsize(), _wrap_uiAbstractScrollableNode_fullsize(), _wrap_uiAbstractScrollableNode_set_fullsize(), _wrap_uiAbstractScrollableNode_set_viewpos(), _wrap_uiAbstractScrollableNode_set_viewsize(), _wrap_uiAbstractScrollableNode_viewpos(), _wrap_uiAbstractScrollableNode_viewsize(), _wrap_uiAbstractScrollbarNode_current(), _wrap_uiAbstractScrollbarNode_fullsize(), _wrap_uiAbstractScrollbarNode_set_current(), _wrap_uiAbstractScrollbarNode_set_fullsize(), _wrap_uiAbstractScrollbarNode_set_viewsize(), _wrap_uiAbstractScrollbarNode_viewsize(), _wrap_uiBar_direction(), _wrap_uiBar_set_direction(), _wrap_uiBaseInventory_columns(), _wrap_uiBaseInventory_filtertype(), _wrap_uiBaseInventory_fullsize(), _wrap_uiBaseInventory_set_fullsize(), _wrap_uiBaseInventory_set_viewpos(), _wrap_uiBaseInventory_set_viewsize(), _wrap_uiBaseInventory_viewpos(), _wrap_uiBaseInventory_viewsize(), _wrap_uiBaseLayout_baseid(), _wrap_uiBaseLayout_set_baseid(), _wrap_uiCheckBox_as_integer(), _wrap_uiContainer_selectedid(), _wrap_uiData_as_integer(), _wrap_uiData_set_value__SWIG_1(), _wrap_uiGeoscape_paddingright(), _wrap_uiGeoscape_set_paddingright(), _wrap_uiLineChart_add_line(), _wrap_uiLineChart_add_point(), _wrap_uiNode_bordersize(), _wrap_uiNode_contentalign(), _wrap_uiNode_layoutalign(), _wrap_uiNode_padding(), _wrap_uiNode_set_bordersize(), _wrap_uiNode_set_borderthickness(), _wrap_uiNode_set_contentalign(), _wrap_uiNode_set_layoutalign(), _wrap_uiNode_set_padding(), _wrap_uiOption_count(), _wrap_uiPanel_layout(), _wrap_uiPanel_layoutcolumns(), _wrap_uiPanel_layoutmargin(), _wrap_uiPanel_set_layout(), _wrap_uiPanel_set_layoutcolumns(), _wrap_uiPanel_set_layoutmargin(), _wrap_uiRows_current(), _wrap_uiRows_lineheight(), _wrap_uiRows_set_current(), _wrap_uiRows_set_lineheight(), _wrap_uiSpinner_mode(), _wrap_uiSpinner_set_mode(), _wrap_uiString_longlines(), _wrap_uiString_set_longlines(), _wrap_uiText_dataid(), _wrap_uiText_lineheight(), _wrap_uiText_lineselected(), _wrap_uiText_longlines(), _wrap_uiText_set_dataid(), _wrap_uiText_set_lineheight(), _wrap_uiText_set_lineselected(), _wrap_uiText_set_longlines(), _wrap_uiText_set_tabwidth(), _wrap_uiText_tabwidth(), _wrap_uiTextEntry_cursorposition(), _wrap_uiTimer_set_timeout(), _wrap_uiTimer_timeout(), _wrap_uiZone_clickdelay(), _wrap_uiZone_set_clickdelay(), AII_UpdateAircraftStats(), AIR_AircraftMakeMove(), AIR_AircraftMenuStatsValues(), AIR_GetOperationRange(), AIR_ParseAircraft(), AM_CheckFire(), AngleNormalize360(), Check_InfoStartAligned(), CHRSH_CharGenAbilitySkills(), CIN_OGM_LoadAudioFrame(), CL_HTTP_Progress(), CL_LookupErrorFunction(), CL_ParsePtlCmds(), CL_ParticleFunction(), CL_ParticleRun2(), CL_RegisterCallback(), Com_ParseValue(), Com_SetValue(), ConstructLevelNodes_r(), CP_CampaignRun(), CP_CampaignRunMarket(), CP_ChooseNation(), CP_MissionChooseUFO(), CP_SelectNewMissionType(), CP_SpawnNewMissions(), uiWindowNode::doLayout(), uiLineChartNode::draw(), ED_CheckNumber(), ED_ProcessRanges(), FindEdgeVerts(), G_GetStartingTeam(), G_Morale(), GEO_3DMapToScreen(), GetPlaneHashValueForDistance(), Grid_FindPath(), HashVec(), IN_JoystickMove(), INT_ChangeIndividualInterest(), NAT_DrawCharts_f(), NAT_HandleBudget(), R_Draw3DGlobe(), R_DrawChar(), R_InitFBObjects(), R_InitializeShader(), R_ScaleTexture(), R_StageColor(), DateTime::reCalculate(), S_SpatializeChannel(), SEQ_Render2D(), TEST_F(), TEST_F(), TEST_F(), UI_ContainerNodeGetItemAtPosition(), UI_NodeGetPoint(), UI_TextNodeGetLine(), UI_TextNodeGetLine(), unzlocal_getByte(), unzOpenCurrentFile3(), and UR_DialogInitSell_f().

◆ long()

typedef long ( ZCALLBACK * tell_file_func)

References voidpf(), and ZCALLBACK.

Referenced by CIN_OGM_Init(), and Sys_Sleep().

◆ OF()

void fill_fopen_filefunc OF ( (zlib_filefunc_def *pzlib_filefunc_def) )

References fill_fopen_filefunc().

◆ uLong()

◆ voidpf()