1
0
Fork 0
mirror of https://github.com/pissnet/angiosperm.git synced 2025-07-26 15:52:22 +01:00

librb: linebuf needs to use the buffer limit from msgbuf_unparse_prefix

This commit is contained in:
Simon Arlott 2017-07-29 23:32:27 +01:00
parent 5ce6360b72
commit 4c7d1de8f3
No known key found for this signature in database
GPG key ID: C8975F2043CA5D24
3 changed files with 7 additions and 4 deletions
librb/include

View file

@ -73,7 +73,7 @@ void rb_linebuf_donebuf(buf_head_t *);
int rb_linebuf_parse(buf_head_t *, char *, int, int);
int rb_linebuf_get(buf_head_t *, char *, int, int, int);
void rb_linebuf_putmsg(buf_head_t *, const char *, va_list *, const char *, ...);
void rb_linebuf_putprefix(buf_head_t *, const char *, va_list *, const char *);
void rb_linebuf_putprefix(buf_head_t *, const char *, va_list *, const char *, size_t);
void rb_linebuf_put(buf_head_t *, const char *, ...);
void rb_linebuf_putbuf(buf_head_t * bufhead, const char *buffer);
void rb_linebuf_attach(buf_head_t *, buf_head_t *);