summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-18rb: use the autotools to generate the libraryOlivier Gayot
the library is not built using the autotools. the advantages of this improvement are: * we can do a make install / make uninstall / make dist / and so on * the library is not (unless specified) built as a shared and static library * some portability issues will be easier to fix.
2014-01-18rb: fix compilation issueOlivier Gayot
rb.h uses an inline definition of rb_remove which uses NULL. since the standard declaration of NULL can be found in stdlib.h, we need to include it.
2014-01-18rb: add a header mentionning the GPL license in every source fileOlivier Gayot
2014-01-18Create LICENSEOlivier 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: fix a dangerous commentOlivier Gayot
we provided an example to show how to use rb_gets2 but did not NULL-terminate our array of delimiters.
2014-01-18rb: use the rb_remove function where it needs to beOlivier Gayot
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 ascii supportOlivier Gayot
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
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.
2013-12-21Update README.mdduskCoder
2013-12-17Initial commitduskCoder