multicast_subscribe

March 26, 2020 Contributors

Name

multicast_subscribe

Synopsis

#include "hooks/msgc/multicast_subscribe.h"

| void **multicast_subscribe** ( | closure, |   |
|   | sender, |   |
|   | sender_len, |   |
|   | group, |   |
|   | group_len, |   |
|   | data, |   |
|   | data_len); |   |

void * <var class="pdparam">closure</var>;
const char * <var class="pdparam">sender</var>;
int <var class="pdparam">sender_len</var>;
const char * <var class="pdparam">group</var>;
int <var class="pdparam">group_len</var>;
const unsigned char * <var class="pdparam">data</var>;
int <var class="pdparam">data_len</var>;

| int **has_msgc_multicast_subscribe_hook** ( | ); |   |

| void **register_msgc_multicast_subscribe_hook_first** ( | hook, |   |
|   | closure); |   |

ec_hook_msgc_multicast_subscribe_func_t <var class="pdparam">hook</var>;
void *<var class="pdparam">closure</var>;

| void **register_msgc_multicast_subscribe_hook_last** ( | hook, |   |
|   | closure); |   |

ec_hook_msgc_multicast_subscribe_func_t <var class="pdparam">hook</var>;
void *<var class="pdparam">closure</var>;

| void **call_msgc_multicast_subscribe_hook** ( | sender, |   |
|   | sender_len, |   |
|   | group, |   |
|   | group_len, |   |
|   | data, |   |
|   | data_len); |   |

const char * <var class="pdparam">sender</var>;
int <var class="pdparam">sender_len</var>;
const char * <var class="pdparam">group</var>;
int <var class="pdparam">group_len</var>;
const unsigned char * <var class="pdparam">data</var>;
int <var class="pdparam">data_len</var>;

Description

Called when any multicast message is received by MSGC