msgbuf: implement msgbuf_parse()
This commit is contained in:
parent
88b427b61d
commit
a8e69f5dfc
4 changed files with 109 additions and 2 deletions
|
@ -46,7 +46,7 @@ struct MsgBuf {
|
|||
* parse a message into a MsgBuf.
|
||||
* returns 0 on success, 1 on error.
|
||||
*/
|
||||
int msgbuf_parse(struct MsgBuf *msgbuf, const char *line);
|
||||
int msgbuf_parse(struct MsgBuf *msgbuf, char *line);
|
||||
|
||||
/*
|
||||
* unparse a pure MsgBuf into a buffer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue