X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=pb_decode.h;h=0abb342ca39153d383f2a6dc397e3e49107bf8c0;hb=7bcf7ef5796c66125a2a4df1317b55a27adedd89;hp=f12b190099743323e706ac54c89deae82697bee8;hpb=fcfc99f766f278564c062922a2857c21ac9af041;p=apps%2Fagl-service-can-low-level.git diff --git a/pb_decode.h b/pb_decode.h index f12b1900..0abb342c 100644 --- a/pb_decode.h +++ b/pb_decode.h @@ -48,6 +48,9 @@ bool pb_decode(pb_istream_t *stream, const pb_field_t fields[], void *dest_struc * You may want to use these from your caller or callbacks. */ +bool pb_decode_tag(pb_istream_t *stream, pb_wire_type_t *wire_type, int *tag, bool *eof); +bool pb_skip_field(pb_istream_t *stream, pb_wire_type_t wire_type); + bool pb_decode_varint(pb_istream_t *stream, uint64_t *dest); bool pb_skip_varint(pb_istream_t *stream);