int MGOinsrsubattrval (Subscription *sub)
The MGOinsrsubattrval() function inserts a new subscription attribute record. Information is passed through sub. The required fields are:
sub.subscription_code is the subscription reference code. sub.attribute_code is the subscription attribute reference code. sub.attribute_data is the subscription attribute data.
Returns the number of records inserted upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).
wmango
MGOdelrsubattrval(), MGOselrsubattr(), MGOselrsubattrval(), MGOselrsubscription(), MGOupdrsubattrval(), MGOzero()