MOS Source Code
Loading...
Searching...
No Matches
pb_common.h File Reference
#include "pb.h"
+ Include dependency graph for pb_common.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool pb_field_iter_begin (pb_field_iter_t *iter, const pb_msgdesc_t *desc, void *message)
 
bool pb_field_iter_begin_extension (pb_field_iter_t *iter, pb_extension_t *extension)
 
bool pb_field_iter_begin_const (pb_field_iter_t *iter, const pb_msgdesc_t *desc, const void *message)
 
bool pb_field_iter_begin_extension_const (pb_field_iter_t *iter, const pb_extension_t *extension)
 
bool pb_field_iter_next (pb_field_iter_t *iter)
 
bool pb_field_iter_find (pb_field_iter_t *iter, uint32_t tag)
 
bool pb_field_iter_find_extension (pb_field_iter_t *iter)
 

Function Documentation

◆ pb_field_iter_begin()

bool pb_field_iter_begin ( pb_field_iter_t * iter,
const pb_msgdesc_t * desc,
void * message )

◆ pb_field_iter_begin_extension()

bool pb_field_iter_begin_extension ( pb_field_iter_t * iter,
pb_extension_t * extension )

Definition at line 166 of file pb_common.c.

Referenced by default_extension_decoder(), pb_field_iter_begin_extension_const(), and pb_field_set_to_default().

+ Here is the call graph for this function:

◆ pb_field_iter_begin_const()

bool pb_field_iter_begin_const ( pb_field_iter_t * iter,
const pb_msgdesc_t * desc,
const void * message )

Definition at line 290 of file pb_common.c.

Referenced by pb_encode(), and validate_message().

+ Here is the call graph for this function:

◆ pb_field_iter_begin_extension_const()

bool pb_field_iter_begin_extension_const ( pb_field_iter_t * iter,
const pb_extension_t * extension )

Definition at line 295 of file pb_common.c.

Referenced by default_extension_encoder().

+ Here is the call graph for this function:

◆ pb_field_iter_next()

bool pb_field_iter_next ( pb_field_iter_t * iter)

Definition at line 188 of file pb_common.c.

Referenced by encode_unionmessage(), limit_sizes(), main(), pb_check_proto3_default_value(), pb_encode(), pb_message_set_to_defaults(), and validate_message().

+ Here is the call graph for this function:

◆ pb_field_iter_find()

bool pb_field_iter_find ( pb_field_iter_t * iter,
uint32_t tag )

Definition at line 195 of file pb_common.c.

Referenced by decode_unionmessage_type(), and pb_decode_inner().

+ Here is the call graph for this function:

◆ pb_field_iter_find_extension()

bool pb_field_iter_find_extension ( pb_field_iter_t * iter)

Definition at line 246 of file pb_common.c.

Referenced by pb_decode_inner().

+ Here is the call graph for this function: