int MGOinsrsubattr (Code *cod)
The MGOinsrsubattr() function inserts a new subscription attribute reference record. Information is passed through cod. The required fields are:
cod.code is the new subscription attribute reference code. cod.name is the name of the new attribute.
Returns the number of records inserted upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).
wmango
MGOdelrsubattr(), MGOselrsubattr(), MGOupdrsubattr(), MGOzero()