* @param[in] action to signal.
* @param[in] limit the frame at which to stop signaling.
*/
-static inline CC_HINT(always_inline) void frame_signal(request_t *request, fr_state_signal_t action, int limit)
+void unlang_frame_signal(request_t *request, fr_state_signal_t action, int limit)
{
unlang_stack_frame_t *frame;
unlang_stack_t *stack = request->stack;
* yet should have a stack depth of zero, so we don't
* need to do anything.
*/
- if (stack && (stack->depth > 0)) frame_signal(request, action, 0);
+ if (stack && (stack->depth > 0)) unlang_frame_signal(request, action, 0);
switch (action) {
case FR_SIGNAL_CANCEL:
/*
* Signal all lower frames to exit.
*/
- frame_signal(request, FR_SIGNAL_CANCEL, retry->depth);
+ unlang_frame_signal(request, FR_SIGNAL_CANCEL, retry->depth);
retry->state = FR_RETRY_MRD;
unlang_interpret_mark_runnable(request);
#define unlang_frame_perf_cleanup(_x)
#endif
+void unlang_frame_signal(request_t *request, fr_state_signal_t action, int limit);
+
typedef struct {
request_t *request;
int depth; //!< of this retry structure