MOS Source Code
Loading...
Searching...
No Matches
encode_oneof.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <pb_encode.h>
#include "oneof.pb.h"
#include "test_helpers.h"
+ Include dependency graph for encode_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 encode_int32_array (pb_ostream_t *stream, const pb_field_t *field, void *const *arg)
 
bool encode_string (pb_ostream_t *stream, const pb_field_t *field, void *const *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 encode_oneof.c.

+ Here is the call graph for this function:

◆ encode_int32_array()

bool encode_int32_array ( pb_ostream_t * stream,
const pb_field_t * field,
void *const * arg )

Definition at line 35 of file encode_oneof.c.

Referenced by main().

+ Here is the call graph for this function:

◆ encode_string()

bool encode_string ( pb_ostream_t * stream,
const pb_field_t * field,
void *const * arg )

Definition at line 49 of file encode_oneof.c.

Referenced by main().

+ Here is the call graph for this function:

◆ main()

int main ( int argc,
char ** argv )

Definition at line 59 of file encode_oneof.c.

+ Here is the call graph for this function: