#include "ltable.h"
FUNCTION struct VECTOR *get_field_ptr (tab,name)
struct TAB_DEF *tab; char *name;
Pointer to a structure defining the LT file structure. The structure is initialized by the open_tab() utility.
Attribute name defining the LT record field whose pointer is to be returned to the calling routine.
Search the LT label vector to find the specified attribute name. The function returns the pointer to the record structure (defined by struct VECTOR) containing the value of the attribute name. If the attribute is not found, the NULL pointer is returned. Function get_vector() must be called prior to get_field_ptr().
get_field_ptr() returns
NULL --> The attribute name was not found !(NULL) --> Pointer to structure of LT record field