/*~23/03/91 15.36.24! source1.c */ /*~xsys_init! source1.c */ /* Initialise subsystem XSYS. This function is called once. bla bla bla. Return -1 if not successfull */ int xsys_init( int memsize) /* Amount of memory allocated to xsys */ /*~xsys_end! source1.c */ /* Terminate use of subsystem XSYS. This function frees all buffers and completes any pending operation. After it has been called, xsys_init may be call again. */ void xsys_end( void) /*~23/03/91 15.36.56! source2.c */ /*~xsys_transact! source2.c */ /* Perform one transaction interactivly. The function returns only when transaction is secure. */ int xsys_transact( void) /*~xsys_undo! source2.c */ /* Undo the last transaction. This function must be called only in this and this and this situation. Return -1 if transaction can't be undone. */ int xsys_undo( void) /*~23/03/91 15.37.06! source3.c */ /*~xsys_batch! source3.c */ /* Perform one transaction without prompting the user. This function assumed a yes to each questions. The function returns immediatly without waiting for the background process to fully complete the transaction. See function xsys_flush(). */ int xsys_batch( void) /*~xsys_flush! source3.c */ /* Complete any pending transactions. This function must be called only in this and this and this situation. Return the number of transactions that has been completed. */ int xsys_flush( void)