Age | Commit message (Collapse) | Author |
|
|
|
|
|
t_rb will be kept in the source files for backward compatibility.
However, it will not have to be used anymore.
|
|
we provided an example to show how to use rb_gets2 but did not NULL-terminate
our array of delimiters.
|
|
|
|
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.
|
|
|
|
|