MOS Source Code
|
#include <stdio.h>
#include <string.h>
#include <pb_encode.h>
#include "callbacks.pb.h"
#include "test_helpers.h"
Go to the source code of this file.
Functions | |
bool | encode_string (pb_ostream_t *stream, const pb_field_t *field, void *const *arg) |
bool | encode_int32 (pb_ostream_t *stream, const pb_field_t *field, void *const *arg) |
bool | encode_fixed32 (pb_ostream_t *stream, const pb_field_t *field, void *const *arg) |
bool | encode_fixed64 (pb_ostream_t *stream, const pb_field_t *field, void *const *arg) |
bool | encode_repeatedstring (pb_ostream_t *stream, const pb_field_t *field, void *const *arg) |
int | main () |
bool encode_string | ( | pb_ostream_t * | stream, |
const pb_field_t * | field, | ||
void *const * | arg ) |
Definition at line 9 of file encode_callbacks.c.
Referenced by main().
bool encode_int32 | ( | pb_ostream_t * | stream, |
const pb_field_t * | field, | ||
void *const * | arg ) |
Definition at line 19 of file encode_callbacks.c.
Referenced by main().
bool encode_fixed32 | ( | pb_ostream_t * | stream, |
const pb_field_t * | field, | ||
void *const * | arg ) |
Definition at line 27 of file encode_callbacks.c.
Referenced by main().
bool encode_fixed64 | ( | pb_ostream_t * | stream, |
const pb_field_t * | field, | ||
void *const * | arg ) |
Definition at line 37 of file encode_callbacks.c.
Referenced by main().
bool encode_repeatedstring | ( | pb_ostream_t * | stream, |
const pb_field_t * | field, | ||
void *const * | arg ) |
Definition at line 47 of file encode_callbacks.c.
Referenced by main().