ctdbGetFieldProperties
Retrieve field properties such as name, type, and length, given a field handle.
Declaration
CTDBRET ctdbGetFieldProperties(CTHANDLE Handle, ppTEXT FieldName,
pCTDBTYPE pType, pVRLEN pLength)
Description
ctdbGetFieldProperties() retrieves field properties such as name, type, and length, given a field handle. These values come from the table definition. Use ctdbSetFieldProperties() to set the field properties.
Returns
ctdbGetFieldProperties() returns CTDBRET_OK on success, or a FairCom DB API error code on failure
See also
ctdbAllocField(), ctdbSetFieldProperties()