next up previous contents index
Next: 4.8.8 lockregion: Lock a Up: 4.8 oskit_stream: standard interface Previous: 4.8.6 commit: Commit all

4.8.7 revert: Revert to last committed version of this object

 

SYNOPSIS

#include <oskit/com/stream.h>

OSKIT_COMDECL oskit_stream_revert(oskit_stream_t *f);

DESCRIPTION

This method changes the state of this stream object to its last committed state if the stream is a transacted object. Otherwise, this method does nothing.

PARAMETERS

f
The object to revert.

RETURNS

Returns 0 on success, or an error code specified in <oskit/error.h>, on error.



University of Utah Flux Research Group