void bbDestroy(BNDBUF *bb)
Destroys a bounded buffer.
void bbPut(BNDBUF *bb, int value)
Adds an element to a bounded buffer.
struct BNDBUF BNDBUF
Definition: jbuffer.h:17
int bbGet(BNDBUF *bb)
Retrieves an element from a bounded buffer.
BNDBUF * bbCreate(size_t size)
Creates a new bounded buffer.