SYNOPSIS

int MGOselsubadmin (Admin **lst, Admin *adm)

DESCRIPTION

The MGOselsubadmin() function selects subscription admin records. Information is passed through adm and returned through the linked list lst. The selection criteria fields are:

adm.principal is the principal name. adm.code the subscription reference code. The following fields are set for each selected subscription admin:

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

MGOdelsubadmin(), MGOfreeadmin(), MGOinssubadmin(), MGOselrsubscription(), MGOupdsubadmin(), MGOzero()