MOS Source Code
Loading...
Searching...
No Matches
decode_oneof.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pb_decode.h>
#include <assert.h>
#include "oneof.pb.h"
#include "test_helpers.h"
#include "unittests.h"
+ Include dependency graph for decode_oneof.c:

Go to the source code of this file.

Functions

bool SubMsg3_callback (pb_istream_t *istream, pb_ostream_t *ostream, const pb_field_t *field)
 
bool print_int32 (pb_istream_t *stream, const pb_field_t *field, void **arg)
 
bool print_string (pb_istream_t *stream, const pb_field_t *field, void **arg)
 
bool msg_callback (pb_istream_t *stream, const pb_field_t *field, void **arg)
 
int main (int argc, char **argv)
 

Function Documentation

◆ SubMsg3_callback()

bool SubMsg3_callback ( pb_istream_t * istream,
pb_ostream_t * ostream,
const pb_field_t * field )

Definition at line 16 of file decode_oneof.c.

+ Here is the call graph for this function:

◆ print_int32()

bool print_int32 ( pb_istream_t * stream,
const pb_field_t * field,
void ** arg )

Definition at line 45 of file decode_oneof.c.

Referenced by msg_callback().

+ Here is the call graph for this function:

◆ print_string()

bool print_string ( pb_istream_t * stream,
const pb_field_t * field,
void ** arg )

Definition at line 55 of file decode_oneof.c.

Referenced by msg_callback().

+ Here is the call graph for this function:

◆ msg_callback()

bool msg_callback ( pb_istream_t * stream,
const pb_field_t * field,
void ** arg )

Definition at line 81 of file decode_oneof.c.

Referenced by main().

+ Here is the call graph for this function:

◆ main()

int main ( int argc,
char ** argv )

Definition at line 121 of file decode_oneof.c.

+ Here is the call graph for this function: