Updates the command history with the commands named `*func'. Type is zero (0) for database commands and one (1) for workspace command. The remaining parameters corresponds to the parameters to command done (named in `*func').
Function returns (as well as the assorted ``normal'' error codes):