Synopsis

char *ddf_GetFieldVdescVal(DDF_FLD *fld, long value)

Purpose

Get the vdesc for a field and value.

Description

Returns the vdesc for the DDF_FLD fld when set to value. If the field does not have any vdesc information, or if the value has no corresponding vdesc, a NULL will be returned. Since this function simply returns the location of the entry in the DDF, care must be taken to not change the information at the returned location.

Input

fld

DDF field pointer

value

Value to obtain vdesc for

Return

The vdesc for value.