static void nn_sub_init (struct nn_sub *self, const struct nn_sockbase_vfptr *vfptr, void *hint) { nn_sockbase_init (&self->sockbase, vfptr, hint); nn_excl_init (&self->excl); nn_trie_init (&self->trie); }
static int nn_xpair_init (struct nn_xpair *self, const struct nn_sockbase_vfptr *vfptr) { int rc; rc = nn_sockbase_init (&self->sockbase, vfptr); if (rc < 0) return rc; nn_excl_init (&self->excl); return 0; }
static void nn_xpair_init (struct nn_xpair *self, const struct nn_sockbase_vfptr *vfptr, void *hint) { nn_sockbase_init (&self->sockbase, vfptr, hint); nn_excl_init (&self->excl); }
void nn_xrespondent_init (struct nn_xrespondent *self, const struct nn_sockbase_vfptr *vfptr, void *hint) { nn_sockbase_init (&self->sockbase, vfptr, hint); nn_excl_init (&self->excl); }