next up previous contents index
Next: CH_set_application(app) Up: Functions on The Previous: CH_get_user_process_node(lbl)

CH_init(app)

   

Set the name of the current application which is stored in each command node. Defaults to ``Unspecified''. The input string is copied and it is the callers responibility to free `app'.

Initialize the command history. Creates the command history node ( ch_node) and a null command node ('no command has been executed'). Make a link from the ch_node's first version to the null command node, which is named front. Finally, we create an unbound link in the system root's history structure node that points to the ch_node. This function should only be called once after connecting to the DBS.      

Function returns (as well as the assorted ``normal'' error codes):



Martin Sjolin
Thu Jun 15 20:41:59 MET DST 1995