Synopsis
PDX_MSGT gdx_InitModelInfo(long option, MDA_MODEL_INFO *model_info)
Purpose
Setup model to contain GDX data.
Description
The model information structure is filled in with the appropriate defaults for the GDX interface. The model_info struct should first be initialized by calling mda_GetModelDefaults. The parse_func argument specifies an application function which will be called after each entity has been parsed in the mda_ParseFile call. The format_func argument specifies an application function which will be called before each entity is formatted in the mda_FormatFile call. Either of these may be specified as NULL. Currently both the parse and format functions are specified as NULL for GDX.
Input
option
Options (not used)
model_info
The model defaults returned from mda_GetModelDefaults
Output
model_info
Model information initialized for the GDX interface
Return
GDX_NOERR
Low level error return
.fi