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

Enforce UTF8 encoding in strings. More...

#include <freeradius-devel/server/base.h>
#include <freeradius-devel/server/module_rlm.h>
+ Include dependency graph for rlm_utf8.c:

Go to the source code of this file.

Functions

static unlang_action_t mod_utf8_clean (rlm_rcode_t *p_result, UNUSED module_ctx_t const *mctx, request_t *request)
 

Variables

module_rlm_t rlm_utf8
 

Detailed Description

Enforce UTF8 encoding in strings.

Id
69406dc9abe314ec133c174395203e5b7575dfa8

Definition in file rlm_utf8.c.

Function Documentation

◆ mod_utf8_clean()

static unlang_action_t mod_utf8_clean ( rlm_rcode_t p_result,
UNUSED module_ctx_t const *  mctx,
request_t request 
)
static

Definition at line 32 of file rlm_utf8.c.

+ Here is the call graph for this function:

Variable Documentation

◆ rlm_utf8

module_rlm_t rlm_utf8
Initial value:
= {
.common = {
.name = "utf8",
},
.method_names = (module_method_name_t[]){
{ .name1 = CF_IDENT_ANY, .name2 = CF_IDENT_ANY, .method = mod_utf8_clean },
}
}
#define CF_IDENT_ANY
Definition: cf_util.h:78
#define MODULE_MAGIC_INIT
Stop people using different module/library/server versions together.
Definition: dl_module.h:65
Specifies a module method identifier.
Definition: module_method.c:36
static unlang_action_t mod_utf8_clean(rlm_rcode_t *p_result, UNUSED module_ctx_t const *mctx, request_t *request)
Definition: rlm_utf8.c:32
@ MODULE_TYPE_THREAD_SAFE
Module is threadsafe.
Definition: module.h:49
#define MODULE_NAME_TERMINATOR
Definition: module.h:135

Definition at line 58 of file rlm_utf8.c.