SYNOPSIS

int MGOgetextcategories2 (Validation **lst, Validation *val)

DESCRIPTION

The MGOgetextcategories2() function returns a list of extended category records. Information is passed through val and returned through the linked list lst. The required and optional selection criteria fields are (the values in brackets indicate which validation tables are searched through when the field is specified):

val.category_code is the category reference code. val.source_code is the validation source reference code. val.status_code is the validation status reference code. You must specify the category_code. The following fields are set for each selected affiliation:

RETURN VALUE

Returns the number of records selected upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).

ERRORS

AUTHENTICATION LEVEL

rmango

SEE ALSO

MGOinsextcategory(), MGOgetextcategory(), MGOfreevalidation(), MGOselrvalsource(), MGOzero()