Drop -Werror
[pmc.git] / cbuf.h
blob54a171fc7143e0ddbbad4a2c5ec1ce2e31e49032
1 #ifndef _CBUF_H
2 #define _CBUF_H
4 int cb_append(char *buffer, const char *data, size_t len);
5 char *cb_strcat(char *buffer, const char *data);
6 char *cb_init(void *start, size_t len, size_t *retlen);
7 int cb_reset(char *buffer);
8 int cb_discard(char *buffer, size_t count);
9 int cb_delete(char *buffer, char *spot, size_t count);
10 int cb_backspace(char *buffer, size_t count);
11 void *cb_destroy(char *buffer);
12 void cb_free(char *buffer);
13 size_t cb_length(char *buffer);
14 size_t cb_minsize(void);
16 #endif