SYNOPSIS

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

DESCRIPTION

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

sub.subscription is the subscription reference code. sub.attribute is the subscription attribute reference code. Either field may be selected or both. The following fields are set for each selected subscription attribute:

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

MGOdelrsubattrval(), MGOfreecode(), MGOinsrsubattrval(), MGOselrsubattr(), MGOselrsubscription(), MGOupdrsubattrval(), MGOzero()