/*
* Push the request and it's link to the IO submodule.
*/
- if (inst->io->push(inst, request, link, t->io_thread_ctx) < 0) {
+ if (inst->io->push(inst, request, link, t->thread_io_ctx) < 0) {
talloc_free(link);
return RLM_MODULE_FAIL;
}
* Allocate thread-specific data. The connections should
* live here.
*/
- t->io_thread_ctx = talloc_zero_array(t, uint8_t, inst->io->thread_inst_size);
- if (!t->io_thread_ctx) {
+ t->thread_io_ctx = talloc_zero_array(t, uint8_t, inst->io->thread_inst_size);
+ if (!t->thread_io_ctx) {
talloc_free(t);
return -1;
}
* Instantiate the per-thread data. This should open up
* sockets, set timers, etc.
*/
- if (inst->io->thread_instantiate(inst->io_conf, inst->io_instance, el, t->io_thread_ctx) < 0) {
+ if (inst->io->thread_instantiate(inst->io_conf, inst->io_instance, el, t->thread_io_ctx) < 0) {
talloc_free(t);
return -1;
}
fr_dlist_t running; //!< running requests
- void *io_thread_ctx; //!< IO context for the IO submodule
+ void *thread_io_ctx; //!< IO context for the IO submodule
} rlm_radius_thread_t;
#endif /* _RLM_RADIUS_H */