int MGOselsubscription (Subscription **lst, Subscription *sub)
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:
Returns the number of records selected upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).
rmango
MGOdelsubscription(), MGOfreesubscription(), MGOinssubscription(), MGOselrsubscription(), MGOupdsubscription(), MGOzero()