Age | Commit message (Collapse) | Author |
|
|
|
when we call rb_put with a size greater than the size of the ring buffer
itself, we used to copy in a loop, overriding our new written datas.
it was very inefficient so we avoid these computations
closes #1
|
|
we provide two new ways to remove data from a ring_buffer
rb_remove(rb, n)
or
rb_get(rb, NULL, n)
closes #2
|
|
in order to be able to deal with strings (i.e null terminated), we
provide a new set of functions
rb_puts
rb_printf / rb_vprintf
rb_gets / rb_gets2
|
|
first working version of the library. the binary stuff is included.
we can write to and read from a ring buffer.
|
|
|
|
|