The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Functions
io.c File Reference

Implement asynchronous callbacks for curl. More...

#include "rest.h"
#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/server/module_rlm.h>
+ Include dependency graph for io.c:

Go to the source code of this file.

Functions

void rest_io_module_signal (module_ctx_t const *mctx, request_t *request, UNUSED fr_signal_t action)
 Handle asynchronous cancellation of a request. More...
 
void rest_io_xlat_signal (xlat_ctx_t const *xctx, request_t *request, fr_signal_t action)
 Handle asynchronous cancellation of a request. More...
 

Detailed Description

Implement asynchronous callbacks for curl.

Id
050cff9c257b6b51b1ce6fb65a4fe38868b2896d

Definition in file io.c.

Function Documentation

◆ rest_io_module_signal()

void rest_io_module_signal ( module_ctx_t const *  mctx,
request_t request,
UNUSED fr_signal_t  action 
)

Handle asynchronous cancellation of a request.

If we're signalled that the request has been cancelled (FR_SIGNAL_CANCEL). Cleanup any pending state and release the connection handle back into the pool.

Definition at line 33 of file io.c.

+ Here is the caller graph for this function:

◆ rest_io_xlat_signal()

void rest_io_xlat_signal ( xlat_ctx_t const *  xctx,
request_t request,
fr_signal_t  action 
)

Handle asynchronous cancellation of a request.

If we're signalled that the request has been cancelled (FR_SIGNAL_CANCEL). Cleanup any pending state and release the connection handle back into the pool.

Definition at line 56 of file io.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: