SYNOPSIS

int MGOselsubscription (Subscription **lst, Subscription *sub)

DESCRIPTION

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

sub.uwnetid is the uwnetid name. sub.subscription_code is the subscription reference code. The following fields are set for each selected subscription:

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

MGOdelsubscription(), MGOfreesubscription(), MGOinssubscription(), MGOselrsubscription(), MGOupdsubscription(), MGOzero()