From f6cc21bc2daf657621fbc82e8ec3475eaee82d1f Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Wed, 30 Dec 2009 18:44:09 -0800 Subject: Doesn't compile, but all the code to be adapted is there. --- src/upb_data.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/upb_data.h') diff --git a/src/upb_data.h b/src/upb_data.h index ef80a40..b3bbb3c 100644 --- a/src/upb_data.h +++ b/src/upb_data.h @@ -446,7 +446,17 @@ void upb_msg_set(upb_msg *msg, struct upb_fielddef *f, union upb_value val); void upb_msg_clear(upb_msg *msg, struct upb_msgdef *md); -void upb_msg_parsestr(upb_msg *msg, struct upb_msgdef *md, upb_string *data, +/* Parsing ********************************************************************/ + +void upb_msg_parsestr(upb_msg *msg, struct upb_msgdef *md, upb_string *str, struct upb_status *status); +struct upb_msgparser *upb_msgparser_new(struct upb_msgdef *def); +void upb_msgparser_free(struct upb_msgparser *mp); + +void upb_msgparser_reset(struct upb_msgparser *mp, upb_msg *m); + +size_t upb_msgparser_parse(struct upb_msgparser *mp, upb_string *str, + struct upb_status *status); + #endif -- cgit v1.2.3