Lines Matching refs:membuff
32 struct membuff { struct
46 void membuff_purge(struct membuff *mb);
67 int membuff_putraw(struct membuff *mb, int maxlen, bool update, char **data);
85 int membuff_getraw(struct membuff *mb, int maxlen, bool update, char **data);
94 bool membuff_putbyte(struct membuff *mb, int ch);
101 int membuff_getbyte(struct membuff *mb);
112 int membuff_peekbyte(struct membuff *mb);
125 int membuff_get(struct membuff *mb, char *buff, int maxlen);
138 int membuff_put(struct membuff *mb, const char *buff, int length);
146 bool membuff_isempty(struct membuff *mb);
154 int membuff_avail(struct membuff *mb);
164 int membuff_size(struct membuff *mb);
175 bool membuff_makecontig(struct membuff *mb);
183 int membuff_free(struct membuff *mb);
198 int membuff_readline(struct membuff *mb, char *str, int maxlen, int minch);
211 int membuff_extend_by(struct membuff *mb, int by, int max);
220 void membuff_init(struct membuff *mb, char *buff, int size);
227 void membuff_uninit(struct membuff *mb);
236 int membuff_new(struct membuff *mb, int size);
243 void membuff_dispose(struct membuff *mb);