GNUnet 0.21.0
GNUNET_MQ_MessageHandler Struct Reference

Message handler for a specific message type. More...

#include <gnunet_mq_lib.h>

Collaboration diagram for GNUNET_MQ_MessageHandler:
[legend]

Data Fields

GNUNET_MQ_MessageValidationCallback mv
 Callback to validate a message of the specified type. More...
 
GNUNET_MQ_MessageCallback cb
 Callback, called every time a new message of the specified type has been received. More...
 
void * cls
 Closure for mv and cb. More...
 
uint16_t type
 Type of the message this handler covers, in host byte order. More...
 
uint16_t expected_size
 Expected size of messages of this type. More...
 

Detailed Description

Message handler for a specific message type.

Definition at line 491 of file gnunet_mq_lib.h.


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