Lines Matching refs:mb
47 void membuff_purge(struct membuff *mb);
68 int membuff_putraw(struct membuff *mb, int maxlen, bool update, char **data);
86 int membuff_getraw(struct membuff *mb, int maxlen, bool update, char **data);
95 bool membuff_putbyte(struct membuff *mb, int ch);
102 int membuff_getbyte(struct membuff *mb);
113 int membuff_peekbyte(struct membuff *mb);
126 int membuff_get(struct membuff *mb, char *buff, int maxlen);
139 int membuff_put(struct membuff *mb, const char *buff, int length);
147 bool membuff_isempty(struct membuff *mb);
155 int membuff_avail(struct membuff *mb);
165 int membuff_size(struct membuff *mb);
176 bool membuff_makecontig(struct membuff *mb);
184 int membuff_free(struct membuff *mb);
199 int membuff_readline(struct membuff *mb, char *str, int maxlen, int minch);
212 int membuff_extend_by(struct membuff *mb, int by, int max);
221 void membuff_init(struct membuff *mb, char *buff, int size);
228 void membuff_uninit(struct membuff *mb);
237 int membuff_new(struct membuff *mb, int size);
244 void membuff_dispose(struct membuff *mb);