static void nn_surveyor_term (struct nn_surveyor *self) { nn_msg_term (&self->tosend); nn_timer_term (&self->timer); nn_fsm_term (&self->fsm); nn_xsurveyor_term (&self->xsurveyor); }
static void nn_xsurveyor_destroy (struct nn_sockbase *self) { struct nn_xsurveyor *xsurveyor; xsurveyor = nn_cont (self, struct nn_xsurveyor, sockbase); nn_xsurveyor_term (xsurveyor); nn_free (xsurveyor); }
static void nn_surveyor_term (struct nn_surveyor *self) { nn_timer_term (&self->deadline_timer); nn_xsurveyor_term (&self->xsurveyor); }