summaryrefslogtreecommitdiff
path: root/src/shared/ring.c
Commit message (Collapse)AuthorAge
* shared: fix coding-style for ring-buffer implementationDavid Herrmann2014-07-11
| | | | | We use "typedef struct Ring Ring" with camel-case for internal objects. So rename "struct ring" to "Ring".
* shared: add ring bufferDavid Herrmann2014-05-13
New "struct ring" object that implements a basic ring buffer for arbitrary byte-streams. A new basic runtime test is also added. This will be needed for our pty helpers for systemd-console and friends.