From 4667ed4be921b2142321e47c8ccc6a35a9189277 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sun, 6 Feb 2011 08:21:47 -0800 Subject: All tests pass again, valgrind-clean! Next up: benchmarks. --- core/upb_glue.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'core/upb_glue.h') diff --git a/core/upb_glue.h b/core/upb_glue.h index 61111f5..ca32436 100644 --- a/core/upb_glue.h +++ b/core/upb_glue.h @@ -25,16 +25,20 @@ extern "C" { // Forward-declares so we don't have to include everything in this .h file. // Clients should use the regular, typedef'd names (eg. upb_string). -struct _upb_string; struct _upb_msg; struct _upb_msgdef; struct _upb_status; +struct _upb_string; +struct _upb_symtab; // Decodes the given string, which must be in protobuf binary format, to the // given upb_msg with msgdef "md", storing the status of the operation in "s". void upb_strtomsg(struct _upb_string *str, struct _upb_msg *msg, struct _upb_msgdef *md, struct _upb_status *s); +void upb_parsedesc(struct _upb_symtab *symtab, struct _upb_string *str, + struct _upb_status *status); + #ifdef __cplusplus } /* extern "C" */ #endif -- cgit v1.2.3