summaryrefslogtreecommitdiff
path: root/src/upb.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2010-06-05 20:17:29 -0700
committerJoshua Haberman <joshua@reverberate.org>2010-06-05 20:17:29 -0700
commita8d3f8e54388467c8b38c23e736553af9b2f88ec (patch)
tree5af23a338116f5c8ef62b4b0b8160106892a67cc /src/upb.h
parentd29f80d6f320143363fb101a9e94f89c17788468 (diff)
More work on the decoder.
Diffstat (limited to 'src/upb.h')
-rw-r--r--src/upb.h3
1 files changed, 3 insertions, 0 deletions
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,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback