generic circular buffer implementation in C
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ondřej Hruška 338a22cf62 improved circbuf 1 year ago
circbuf improved circbuf 1 year ago
circbuf_deque improved circbuf 1 year ago
matcher moved to folders, updated etc 8 years ago
meanbuf moved to folders, updated etc 8 years ago
LICENSE readme + lic 8 years ago
README.md added malloc mention in readme 8 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!