MOS Source Code
Loading...
Searching...
No Matches
encode_callbacks.c File Reference
#include <stdio.h>
#include <string.h>
#include <pb_encode.h>
#include "callbacks.pb.h"
#include "test_helpers.h"
+ Include dependency graph for encode_callbacks.c:

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 ()
 

Function Documentation

◆ encode_string()

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().

+ Here is the call graph for this function:

◆ encode_int32()

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().

+ Here is the call graph for this function:

◆ encode_fixed32()

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().

+ Here is the call graph for this function:

◆ encode_fixed64()

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().

+ Here is the call graph for this function:

◆ encode_repeatedstring()

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().

+ Here is the call graph for this function:

◆ main()

int main ( void )

Definition at line 63 of file encode_callbacks.c.

+ Here is the call graph for this function: