core: introduce prbuf
prbuf is partitioned ring buffer. The main property of the buffer is that it can be recovered from raw memory. To achieve this buffer saves metadata before each stored entry. For further details see source code. NO_DOC=<Private data structure> NO_CHANGELOG=<No user visible changes>
Showing
- src/lib/core/CMakeLists.txt 1 addition, 0 deletionssrc/lib/core/CMakeLists.txt
- src/lib/core/prbuf.c 363 additions, 0 deletionssrc/lib/core/prbuf.c
- src/lib/core/prbuf.h 84 additions, 0 deletionssrc/lib/core/prbuf.h
- test/unit/CMakeLists.txt 2 additions, 0 deletionstest/unit/CMakeLists.txt
- test/unit/prbuf.c 345 additions, 0 deletionstest/unit/prbuf.c
- test/unit/prbuf.result 70 additions, 0 deletionstest/unit/prbuf.result
Loading
Please register or sign in to comment