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

Shim I/O worker functions for running fake requests. More...

#include <freeradius-devel/io/listen.h>
#include "unlang_priv.h"
+ Include dependency graph for io.c:

Go to the source code of this file.

Macros

#define COPY_FIELD(_x)   child->async->_x = parent->async->_x
 

Functions

request_tunlang_io_subrequest_alloc (request_t *parent, fr_dict_t const *namespace, bool detachable)
 Allocate a child request based on the parent. More...
 

Detailed Description

Shim I/O worker functions for running fake requests.

Id
ca1fdd5f672ff4d68a7b2483e53367211a79d1ea

Definition in file io.c.

Macro Definition Documentation

◆ COPY_FIELD

#define COPY_FIELD (   _x)    child->async->_x = parent->async->_x

Function Documentation

◆ unlang_io_subrequest_alloc()

request_t* unlang_io_subrequest_alloc ( request_t parent,
fr_dict_t const *  namespace,
bool  detachable 
)

Allocate a child request based on the parent.

Parameters
[in]parentspawning the child request.
[in]namespacethe child request operates in. If NULL the parent's namespace is used.
[in]detachableAllow/disallow the child to be detached.
Returns
  • The new child request.
  • NULL on error.

Definition at line 39 of file io.c.

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