GNUnet  0.11.x
Data Fields
MessageStreamTokenizer Struct Reference

Handle to a message stream tokenizer. More...

Collaboration diagram for MessageStreamTokenizer:
[legend]

Data Fields

MessageTokenizerCallback cb
 Function to call on completed messages. More...
 
void * cb_cls
 Closure for cb. More...
 
size_t curr_buf
 Size of the buffer (starting at 'hdr'). More...
 
size_t off
 How many bytes in buffer have we already processed? More...
 
size_t pos
 How many bytes in buffer are valid right now? More...
 
struct GNUNET_MessageHeaderhdr
 Beginning of the buffer. More...
 

Detailed Description

Handle to a message stream tokenizer.

Definition at line 198 of file gnunet-helper-transport-bluetooth.c.

Field Documentation

◆ cb

MessageTokenizerCallback MessageStreamTokenizer::cb

Function to call on completed messages.

Definition at line 203 of file gnunet-helper-transport-bluetooth.c.

Referenced by mst_create(), and mst_receive().

◆ cb_cls

void * MessageStreamTokenizer::cb_cls

Closure for cb.

Definition at line 208 of file gnunet-helper-transport-bluetooth.c.

Referenced by mst_create(), and mst_receive().

◆ curr_buf

size_t MessageStreamTokenizer::curr_buf

Size of the buffer (starting at 'hdr').

Definition at line 213 of file gnunet-helper-transport-bluetooth.c.

Referenced by mst_create(), and mst_receive().

◆ off

size_t MessageStreamTokenizer::off

How many bytes in buffer have we already processed?

Definition at line 218 of file gnunet-helper-transport-bluetooth.c.

Referenced by mst_receive().

◆ pos

size_t MessageStreamTokenizer::pos

How many bytes in buffer are valid right now?

Definition at line 223 of file gnunet-helper-transport-bluetooth.c.

Referenced by mst_create(), and mst_receive().

◆ hdr

struct GNUNET_MessageHeader * MessageStreamTokenizer::hdr

Beginning of the buffer.

Typed like this to force alignment.

Definition at line 228 of file gnunet-helper-transport-bluetooth.c.

Referenced by mst_create(), mst_destroy(), and mst_receive().


The documentation for this struct was generated from the following files: