X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=pb.h;h=2c6a2520eff69fb0acd95f6eb1bfb990a4834e94;hb=7f53c3f7484679c1e38607f59542d43be1387650;hp=e6037b819e29644c4e0665f54e4eaf1715aba257;hpb=842d52633d650286ce62490362f8dfa356e17800;p=apps%2Fagl-service-can-low-level.git diff --git a/pb.h b/pb.h index e6037b81..2c6a2520 100644 --- a/pb.h +++ b/pb.h @@ -126,6 +126,8 @@ typedef struct { * The encoding callback will receive the actual output stream. * It should write all the data in one call, including the field tag and * wire type. It can write multiple fields. + * + * The callback can be null if you want to skip a field. */ typedef struct _pb_istream_t pb_istream_t; typedef struct _pb_ostream_t pb_ostream_t;