Minor changes.

This commit is contained in:
Vreixo Formoso
2007-12-23 15:39:41 +01:00
parent 002a832ac3
commit b8aa48038b
4 changed files with 24 additions and 5 deletions

View File

@@ -21,13 +21,18 @@ typedef struct iso_ring_buffer IsoRingBuffer;
/**
* Create a new buffer.
*
* The created buffer can be freed with free(3)
* The created buffer can be freed with iso_ring_buffer_free(3)
*
* @return
* 1 success, < 0 error
*/
int iso_ring_buffer_new(IsoRingBuffer **rbuf);
/**
* Free a given buffer
*/
void iso_ring_buffer_free(IsoRingBuffer *buf);
/**
* Write count bytes into buffer. It blocks until all bytes where written or
* reader close the buffer.