OLE Developer Guide  Latest Git
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
stream_decoder.h File Reference

Detailed Description

Unpack messages from the host.

Include dependency graph for stream_decoder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Message
 A de-serialized message. More...
 

Typedefs

typedef void(* MessageHandler )(const Message *)
 A function pointer used to handle new messages. More...
 

Functions

void StreamDecoder_Initialize (MessageHandler handler)
 Initialize the Stream Decoder. More...
 
bool StreamDecoder_GetFragmentedFrameFlag ()
 Get the value of the fragmented frame flag. More...
 
void StreamDecoder_ClearFragmentedFrameFlag ()
 Clear the fragmented frame flag.
 
void StreamDecoder_Process (const uint8_t *data, unsigned int size)
 Decode data from an input stream. More...