22 GNUNET_MESSAGE_TYPE_MY_FIX,
26 GNUNET_MESSAGE_TYPE_MY_VAR,
struct GNUNET_MessageHeader * msg
static int check_var(void *cls, const struct MyVarMessage *msg)
struct GNUNET_MQ_MessageHandler handlers[]
static void handle_var(void *cls, const struct MyVarMessage *msg)
static void handle_fix(void *cls, const struct MyMessage *msg)
#define GNUNET_MQ_handler_end()
End-marker for the handlers array.
#define GNUNET_MQ_hd_fixed_size(name, code, str, ctx)
Message handler for a specific message type.