diff options
author | Joshua Haberman <joshua@reverberate.org> | 2011-02-06 08:21:47 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2011-02-06 08:21:47 -0800 |
commit | 4667ed4be921b2142321e47c8ccc6a35a9189277 (patch) | |
tree | 416d9bf9cffa3b9abc99f7f69a68e84df8f0a203 /core/upb_glue.h | |
parent | 806ba1c80d86bd59759cf59efc057662eecbcf65 (diff) |
All tests pass again, valgrind-clean! Next up: benchmarks.
Diffstat (limited to 'core/upb_glue.h')
-rw-r--r-- | core/upb_glue.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 |