generic circular buffer implementation in C
Ondřej Hruška 24840cdd0c added malloc mention in readme 3 years ago
circbuf cbuf_make -> cbuf_create 3 years ago
matcher moved to folders, updated etc 3 years ago
meanbuf moved to folders, updated etc 3 years ago
LICENSE readme + lic 3 years ago
README.md added malloc mention in readme 3 years ago

README.md

Buffers

This is a collection of useful buffer modules for C programs.

  • circbuf - generic circular buffer, queue, stack
  • matcher - pattern matcher for character streams
  • meanbuf - averaging (smoothing) buffer.

Please see READMEs in the project folders for more details.

The buffers were developed for embedded microcontrollers (STM32, AVR), but can be used anywhere, they are fully portable - only requirement is malloc(). If you don't have malloc, you'll have to customize the init routines.

Pull requests to add new buffers or improve the current ones are welcome!