Synopsis
PDX_MSGT vdaf_InitModelInfo(long option, MDA_MODEL_INFO *model_info)
Purpose
Setup model to contain VDAFS data.
Description
The model information structure is filled in with the appropriate defaults for the VDAF interface. The @a model_info structure should first be initialized by calling mda_GetModelDefaults. The model information will be set so the mda_ParseFile invokes the VDAFS interface function vafp_ParseFile and mda_FormatFile invokes vaff_FormatFile. See the appropriate manual page for information on these functions. Only the following fields in model_info can be modified by the application after this function is called:
.nf modelnam validate .fi
Note: Backpointers MUST be enabled in the VDAFS model. Do not set the modify the backpointers (backptrs) field in the model.
Input
option
Options (not used)
model_info
The model defaults returned from mda_GetModelDefaults.
Output
model_info
Model information initialized for the VDAF interface.
Return
VDAF error code