* @param[in] fd that errored.
* @param[in] flags from kevent.
* @param[in] fd_errno from kevent.
- * @param[in] ctx The rlm_rest_thread_t specific to this thread.
+ * @param[in] uctx The rlm_rest_thread_t specific to this thread.
*/
-static void _rest_io_service_errored(UNUSED fr_event_list_t *el, int fd, UNUSED int flags, int fd_errno, void *ctx)
+static void _rest_io_service_errored(UNUSED fr_event_list_t *el, int fd, UNUSED int flags, int fd_errno, void *uctx)
{
rlm_rest_thread_t *t;
- t = talloc_get_type_abort(ctx, rlm_rest_thread_t);
+ t = talloc_get_type_abort(uctx, rlm_rest_thread_t);
DEBUG4("libcurl fd %i errored: %s", fd, fr_syserror(fd_errno));
* @param[in] el fd was registered with.
* @param[in] fd that became writable.
* @param[in] flags from kevent.
- * @param[in] ctx The rlm_rest_thread_t specific to this thread.
+ * @param[in] uctx The rlm_rest_thread_t specific to this thread.
*/
-static void _rest_io_service_writable(UNUSED fr_event_list_t *el, int fd, UNUSED int flags, void *ctx)
+static void _rest_io_service_writable(UNUSED fr_event_list_t *el, int fd, UNUSED int flags, void *uctx)
{
rlm_rest_thread_t *t;
- t = talloc_get_type_abort(ctx, rlm_rest_thread_t);
+ t = talloc_get_type_abort(uctx, rlm_rest_thread_t);
DEBUG4("libcurl fd %i now writable", fd);
* @param[in] el fd was registered with.
* @param[in] fd that became readable.
* @param[in] flags from kevent.
- * @param[in] ctx The rlm_rest_thread_t specific to this thread.
+ * @param[in] uctx The rlm_rest_thread_t specific to this thread.
*/
-static void _rest_io_service_readable(UNUSED fr_event_list_t *el, int fd, UNUSED int flags, void *ctx)
+static void _rest_io_service_readable(UNUSED fr_event_list_t *el, int fd, UNUSED int flags, void *uctx)
{
rlm_rest_thread_t *t;
- t = talloc_get_type_abort(ctx, rlm_rest_thread_t);
+ t = talloc_get_type_abort(uctx, rlm_rest_thread_t);
DEBUG4("libcurl fd %i now readable", fd);