MOS Source Code
Loading...
Searching...
No Matches
test.c File Reference
#include <assert.h>
#include <pb_decode.h>
#include "unittests.h"
#include "test.pb.h"
#include <stdio.h>
+ Include dependency graph for test.c:

Go to the source code of this file.

Functions

bool stream_callback (pb_istream_t *stream, uint8_t *buf, size_t count)
 
int main ()
 

Variables

const uint8_t input_data []
 
const size_t input_len = sizeof(input_data)
 

Function Documentation

◆ stream_callback()

bool stream_callback ( pb_istream_t * stream,
uint8_t * buf,
size_t count )

Definition at line 13 of file test.c.

+ Here is the call graph for this function:

◆ main()

int main ( void )

Definition at line 31 of file test.c.

+ Here is the call graph for this function:

Variable Documentation

◆ input_data

const uint8_t input_data[]
Initial value:
= {
0x08, 0x01,
}

Definition at line 7 of file test.c.

Referenced by main(), and stream_callback().

◆ input_len

const size_t input_len = sizeof(input_data)

Definition at line 11 of file test.c.

Referenced by main(), and stream_callback().