int MGOselrvalstatus (Code **lst, Code *cod)
The MGOselrvalstatus() function selects validation status reference records. Information is passed through cod and returned through the linked list lst. The selection criteria fields are:
cod.code is the validation status reference code. If unspecified, all records are returned. The following fields are set for each selected validation status:
Returns the number of records selected upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).
none
MGOdelrvalstatus(), MGOfreecode(), MGOinsrvalstatus(), MGOupdrvalstatus(), MGOzero()