int MGOinsrsdbstatus (Code *cod)
The MGOinsrsdbstatus() function inserts a new sdb status reference record. Information is passed through cod. The required fields are:
cod.rule is the new sdb status reference rule. cod.name is the name of the new status.
Returns the number of records inserted upon success or -1 if an error occurred (in which case MGOerrno and MGOerrmsg are set appropriately).
wmango
MGOdelrsdbstatus(), MGOselrsdbstatus(), MGOupdrsdbstatus(), MGOzero()