From a8d3f8e54388467c8b38c23e736553af9b2f88ec Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sat, 5 Jun 2010 20:17:29 -0700 Subject: More work on the decoder. --- src/upb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/upb.h') diff --git a/src/upb.h b/src/upb.h index 8c6f599..97fd20d 100644 --- a/src/upb.h +++ b/src/upb.h @@ -284,6 +284,9 @@ enum upb_status_code { // A read or write from a streaming src/sink could not be completed right now. UPB_STATUS_TRYAGAIN = 1, + // A value had an incorrect wire type and will be skipped. + UPB_STATUS_BADWIRETYPE = 2, + // An unrecoverable error occurred. UPB_STATUS_ERROR = -1, -- cgit v1.2.3