Lines Matching refs:bipbuf_t
18 } bipbuf_t; typedef
26 bipbuf_t *bipbuf_new(const unsigned int size);
34 void bipbuf_init(bipbuf_t* me, const unsigned int size);
38 void bipbuf_free(bipbuf_t *me);
41 unsigned char *bipbuf_request(bipbuf_t* me, const int size);
42 int bipbuf_push(bipbuf_t* me, const int size);
48 int bipbuf_offer(bipbuf_t *me, const unsigned char *data, const int size);
55 unsigned char *bipbuf_peek(const bipbuf_t* me, const unsigned int len);
62 unsigned char *bipbuf_peek_all(const bipbuf_t* me, unsigned int *len);
69 unsigned char *bipbuf_poll(bipbuf_t* me, const unsigned int size);
73 int bipbuf_size(const bipbuf_t* me);
77 int bipbuf_is_empty(const bipbuf_t* me);
81 int bipbuf_used(const bipbuf_t* cb);
85 int bipbuf_unused(const bipbuf_t* me);