SYNOPSIS

int MGOinsrsubstatus (Code *cod)

DESCRIPTION

The MGOinsrsubstatus() function inserts a new subscription status reference record. Information is passed through cod. The required fields are:

cod.code is the new subscription status reference code. cod.name is the name of the new status.

RETURN VALUE

Returns the number of records inserted upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).

ERRORS

AUTHENTICATION LEVEL

wmango

SEE ALSO

MGOdelrsubstatus(), MGOselrsubstatus(), MGOupdrsubstatus(), MGOzero()