MOS Source Code
|
#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"
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) |
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 ) |
Definition at line 45 of file decode_oneof.c.
Referenced by msg_callback().
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().
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().