summaryrefslogtreecommitdiff
path: root/src/rb.c
AgeCommit message (Collapse)Author
2014-01-18rb: add a header mentionning the GPL license in every source fileOlivier Gayot
2014-01-18rb: t_rb has been renamed to rb_tOlivier Gayot
t_rb will be kept in the source files for backward compatibility. However, it will not have to be used anymore.
2014-01-18rb: improve the performance of rb_putOlivier Gayot
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
2014-01-18rb: allow to remove data from a ring bufferOlivier Gayot
we provide two new ways to remove data from a ring_buffer rb_remove(rb, n) or rb_get(rb, NULL, n) closes #2
2014-01-18rb: add a first version of the libraryOlivier Gayot
first working version of the library. the binary stuff is included. we can write to and read from a ring buffer.