Arbortext Command Language > Repository API > sess_add_callback
  
sess_add_callback
sess_add_callback (sesshdl, fcode, fname)
For the currently active session sesshdl, this function sets a callback for the session function fcode to call the ACL function fname.
The legal session fcodes are:
autosave
checkin
construct
create
getfile
lock
postburst
preburst
precheckin
putfile
save
unlock
If the operation fails, the function writes error data to $main::ioerr and returns a zero (0). If successful, the function returns a one (1).
Related Topics
Repository API Callback functions