* Minimal data structure to use the new code.
*/
struct fr_async_s {
- module_method_t process; //!< The current state function.
- void *process_inst; //!< Instance data for the current state machine.
-
fr_time_t recv_time;
fr_event_list_t *el;
#ifndef NDEBUG
request->async->el = NULL;
- request->async->process = NULL;
request->async->channel = NULL;
request->async->packet_ctx = NULL;
request->async->listen = NULL;
*/
unlang_action_t rad_virtual_server(rlm_rcode_t *p_result, request_t *request)
{
- rlm_rcode_t final;
-
- RDEBUG("Virtual server %s received request", cf_section_name2(unlang_call_current(request)));
+ RDEBUG("Virtual server %s received request NOT IMPLEMENTED", cf_section_name2(unlang_call_current(request)));
log_request_pair_list(L_DBG_LVL_1, request, NULL, &request->request_pairs, NULL);
+ /*
+ * Just push the virtual server onto the stack?
+ *
+ * Except that the caller expects this function to be run
+ * _synchronously_, and all of that needs to be fixed.
+ */
+ RETURN_MODULE_FAIL;
+
#if 0
{
fr_pair_t *username, *parent_username = NULL;
}
}
}
-#endif
if (!request->async) {
#ifdef STATIC_ANALYZER
}
RETURN_MODULE_OK;
+#endif
}
/*
REQUEST_OTHER_4,
} request_state_t;
-typedef void (*fr_request_process_t)(request_t *, fr_signal_t); //!< Function handler for requests.
-typedef rlm_rcode_t (*RAD_REQUEST_FUNP)(request_t *);
-
extern HIDDEN fr_dict_attr_t const *request_attr_root;
extern fr_dict_attr_t const *request_attr_request;
extern fr_dict_attr_t const *request_attr_reply;