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

Go to the source code of this file.

Functions

bool write_prefix (pb_ostream_t *stream, int msgid)
 
bool encode_MyMessage1 (pb_ostream_t *stream)
 
bool encode_MyMessage2 (pb_ostream_t *stream)
 
bool encode_MyMessage3 (pb_ostream_t *stream)
 
int main (int argc, char **argv)
 

Function Documentation

◆ write_prefix()

bool write_prefix ( pb_ostream_t * stream,
int msgid )

Definition at line 14 of file encode_msgid.c.

Referenced by encode_MyMessage1(), encode_MyMessage2(), and encode_MyMessage3().

+ Here is the call graph for this function:

◆ encode_MyMessage1()

bool encode_MyMessage1 ( pb_ostream_t * stream)

Definition at line 25 of file encode_msgid.c.

Referenced by main().

+ Here is the call graph for this function:

◆ encode_MyMessage2()

bool encode_MyMessage2 ( pb_ostream_t * stream)

Definition at line 33 of file encode_msgid.c.

Referenced by main().

+ Here is the call graph for this function:

◆ encode_MyMessage3()

bool encode_MyMessage3 ( pb_ostream_t * stream)

Definition at line 42 of file encode_msgid.c.

Referenced by main().

+ Here is the call graph for this function:

◆ main()

int main ( int argc,
char ** argv )

Definition at line 50 of file encode_msgid.c.

+ Here is the call graph for this function: