SYNOPSIS

int MGOselextcategory (Validation **lst, Validation *cat)

DESCRIPTION

The MGOselextcategory() function selects extended category records. Information is passed through cat and returned through the linked list lst. The selection criteria fields are:

cat.validid is the validation id. cat.category_code is the category reference code. cat.source_code is the validation source reference code. val.status_code is the validation status reference code. If category_code is omitted, all extended category code records are returned. The following fields are set for each selected validation:

RETURN VALUE

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

ERRORS

AUTHENTICATION LEVEL

rmango

SEE ALSO

MGOdelextcategory(), MGOfreevalidation(), MGOinsextcategory(), MGOselrvalstatus(), MGOzero()