From f74534b42ac9ac8b0ff496cb0da83f1201bbf8da Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sun, 8 May 2011 13:05:12 -0700 Subject: Decoder redesign in preparation for packed fields and start/endseq. --- src/upb_decoder.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/upb_decoder.h') 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 #include #include #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 -- cgit v1.2.3