Skip to main content

Name

join

Synopsis

#include "hooks/msgc/join.h"

| void **join** ( | closure, |   | |   | group, |   | |   | group_len, |   | |   | capabilities, |   | |   | capabilities_len); |   |

void * <var class="pdparam">closure</var>; const char * <var class="pdparam">group</var>; u_int16_t <var class="pdparam">group_len</var>; const char * <var class="pdparam">capabilities</var>; u_int16_t <var class="pdparam">capabilities_len</var>;

| int **has_msgc_join_hook** ( | ); |   |

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

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

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

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

| void **call_msgc_join_hook** ( | group, |   | |   | group_len, |   | |   | capabilities, |   | |   | capabilities_len); |   |

const char * <var class="pdparam">group</var>; u_int16_t <var class="pdparam">group_len</var>; const char * <var class="pdparam">capabilities</var>; u_int16_t <var class="pdparam">capabilities_len</var>;

Description

This hook is registered by the MSGC infrastructure. Call it only once to join the named group. MSGC takes care of re-joining if the underlying connections to the MSGC infrastructure are broken.

Was this page helpful?