diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2011-05-08 13:05:12 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2011-05-08 13:05:12 -0700 |
commit | f74534b42ac9ac8b0ff496cb0da83f1201bbf8da (patch) | |
tree | cf20bb7160a6f37cecd5c2cb4222c03b88e4fcde /src/upb_decoder.h | |
parent | 4a99abba123fc1d2bef62778846a1f27b2012de0 (diff) |
Decoder redesign in preparation for packed fields and start/endseq.
Diffstat (limited to 'src/upb_decoder.h')
-rw-r--r-- | src/upb_decoder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/upb_decoder.h b/src/upb_decoder.h index 1be31c4..954b33c 100644 --- a/src/upb_decoder.h +++ b/src/upb_decoder.h @@ -17,6 +17,7 @@ #ifndef UPB_DECODER_H_ #define UPB_DECODER_H_ +#include <setjmp.h> #include <stdbool.h> #include <stdint.h> #include "upb_stream.h" @@ -60,6 +61,8 @@ struct _upb_decoder { // MIN(end, submsg_end) const char *effective_end; + upb_fieldent *f; + // Where we will store any errors that occur. upb_status *status; @@ -72,6 +75,7 @@ struct _upb_decoder { char *debug_info; struct dasm_State *dynasm; + sigjmp_buf exitjmp; }; // A upb_decoder decodes the binary protocol buffer format, writing the data it |