#include <stdio.h>
#include <stdlib.h>
#include <pb_decode.h>
#include "msgid_example.pb.h"
#include "test_helpers.h"
Go to the source code of this file.
◆ PB_MSG
#define PB_MSG |
( |
| id, |
|
|
| len, |
|
|
| name ) |
Value:case id: status = handle_ ##
name(&stream);
break;
◆ read_prefix()
bool read_prefix |
( |
pb_istream_t * | stream, |
|
|
int * | msgid ) |
◆ handle_MyMessage1()
bool handle_MyMessage1 |
( |
pb_istream_t * | stream | ) |
|
◆ handle_MyMessage2()
bool handle_MyMessage2 |
( |
pb_istream_t * | stream | ) |
|
◆ handle_MyMessage3()
bool handle_MyMessage3 |
( |
pb_istream_t * | stream | ) |
|
◆ main()
int main |
( |
int | argc, |
|
|
char ** | argv ) |