SYNOPSIS

int MGOselrsdbstatus (Code **lst, Code *cod)

DESCRIPTION

The MGOselrsdbstatus() function selects sdb status reference records. Information is passed through cod and returned through the linked list lst. The selection criteria fields are:

cod.rule is the sdb status reference rule. If unspecified, all records are returned. The following fields are set for each selected sdb status:

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

none

SEE ALSO

MGOdelrsdbstatus(), MGOfreecode(), MGOinsrsdbstatus(), MGOupdrsdbstatus(), MGOzero()