The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Functions | Variables
rlm_unpack.c File Reference

Unpack binary data. More...

#include <freeradius-devel/server/base.h>
#include <freeradius-devel/server/module_rlm.h>
#include <freeradius-devel/unlang/xlat_func.h>
#include <freeradius-devel/util/base16.h>
#include <ctype.h>
+ Include dependency graph for rlm_unpack.c:

Go to the source code of this file.

Functions

static int mod_load (void)
 
static void mod_unload (void)
 
static xlat_action_t unpack_xlat (TALLOC_CTX *ctx, fr_dcursor_t *out, UNUSED xlat_ctx_t const *xctx, request_t *request, fr_value_box_list_t *in)
 Unpack data. More...
 

Variables

module_rlm_t rlm_unpack
 
static xlat_arg_parser_t const unpack_xlat_args []
 

Detailed Description

Unpack binary data.

Id
cad6d9c8bdc58c06e644b93fef195be8c634d526

Definition in file rlm_unpack.c.

Function Documentation

◆ mod_load()

static int mod_load ( void  )
static

Definition at line 157 of file rlm_unpack.c.

+ Here is the call graph for this function:

◆ mod_unload()

static void mod_unload ( void  )
static

Definition at line 168 of file rlm_unpack.c.

+ Here is the call graph for this function:

Variable Documentation

◆ rlm_unpack

module_rlm_t rlm_unpack
Initial value:
= {
.common = {
.name = "unpack",
.onload = mod_load,
.unload = mod_unload
}
}
#define MODULE_MAGIC_INIT
Stop people using different module/library/server versions together.
Definition: dl_module.h:63
static int mod_load(void)
Definition: rlm_unpack.c:157
static void mod_unload(void)
Definition: rlm_unpack.c:168

Definition at line 183 of file rlm_unpack.c.

◆ unpack_xlat_args

xlat_arg_parser_t const unpack_xlat_args[]
static
Initial value:
= {
{ .required = true, .single = true, .type = FR_TYPE_VOID },
{ .required = true, .single = true, .type = FR_TYPE_UINT32 },
{ .required = true, .single = true, .type = FR_TYPE_STRING },
{ .single = true, .type = FR_TYPE_VOID },
}
@ FR_TYPE_STRING
String of printable characters.
Definition: merged_model.c:83
@ FR_TYPE_UINT32
32 Bit unsigned integer.
Definition: merged_model.c:99
@ FR_TYPE_VOID
User data.
Definition: merged_model.c:127
#define XLAT_ARG_PARSER_TERMINATOR
Definition: xlat.h:166

Definition at line 34 of file rlm_unpack.c.