summaryrefslogtreecommitdiff
path: root/core/upb_glue.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/upb_glue.h')
-rw-r--r--core/upb_glue.h6
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
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback