All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions | Variables
rlm_soh.c File Reference

Decodes Microsoft's Statement of Health sub-protocol. More...

#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/modules.h>
#include <freeradius-devel/dhcp.h>
#include <freeradius-devel/soh.h>
+ Include dependency graph for rlm_soh.c:

Go to the source code of this file.

Data Structures

struct  rlm_soh_t
 

Typedefs

typedef struct rlm_soh_t rlm_soh_t
 

Functions

static rlm_rcode_t CC_HINT (nonnull)
 
static int mod_bootstrap (CONF_SECTION *conf, void *instance)
 
static ssize_t soh_xlat (char **out, size_t outlen, UNUSED void const *mod_inst, UNUSED void const *xlat_inst, REQUEST *request, char const *fmt)
 

Variables

static const CONF_PARSER module_config []
 
module_t rlm_soh
 

Detailed Description

Decodes Microsoft's Statement of Health sub-protocol.

Id:
60a153e2e33ef5d3edaf2bedcd672c9c3b2a0a61

Definition in file rlm_soh.c.


Data Structure Documentation

struct rlm_soh_t

Definition at line 32 of file rlm_soh.c.

Data Fields
bool dhcp
char const * xlat_name

Typedef Documentation

typedef struct rlm_soh_t rlm_soh_t

Function Documentation

static rlm_rcode_t CC_HINT ( nonnull  )
static

Definition at line 124 of file rlm_soh.c.

+ Here is the call graph for this function:

static int mod_bootstrap ( CONF_SECTION conf,
void *  instance 
)
static

Definition at line 109 of file rlm_soh.c.

+ Here is the call graph for this function:

static ssize_t soh_xlat ( char **  out,
size_t  outlen,
UNUSED void const *  mod_inst,
UNUSED void const *  xlat_inst,
REQUEST request,
char const *  fmt 
)
static

Definition at line 41 of file rlm_soh.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

const CONF_PARSER module_config[]
static
Initial value:
= {
{ FR_CONF_OFFSET("dhcp", PW_TYPE_BOOLEAN, rlm_soh_t, dhcp), .dflt = "no" },
}
#define CONF_PARSER_TERMINATOR
Definition: conffile.h:289
A truth value.
Definition: radius.h:56
#define FR_CONF_OFFSET(_n, _t, _s, _f)
Definition: conffile.h:168

Definition at line 100 of file rlm_soh.c.

module_t rlm_soh
Initial value:
= {
.magic = RLM_MODULE_INIT,
.name = "soh",
.inst_size = sizeof(rlm_soh_t),
.config = module_config,
.bootstrap = mod_bootstrap,
.methods = {
},
}
static int mod_bootstrap(CONF_SECTION *conf, void *instance)
Definition: rlm_soh.c:109
static rlm_rcode_t mod_post_auth(void *instance, REQUEST *request) CC_HINT(nonnull)
7 methods index for postauth section.
Definition: modules.h:48
static rlm_rcode_t mod_authorize(void *instance, REQUEST *request)
Handle authorization requests using Couchbase document data.
#define RLM_TYPE_THREAD_SAFE
Module is threadsafe.
Definition: modules.h:75
#define RLM_MODULE_INIT
Definition: modules.h:86
struct rlm_soh_t rlm_soh_t
static const CONF_PARSER module_config[]
Definition: rlm_soh.c:100
1 methods index for authorize section.
Definition: modules.h:42

Definition at line 212 of file rlm_soh.c.