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

Generic xlat functions dependent on libcurl. More...

#include <freeradius-devel/util/value.h>
#include <freeradius-devel/unlang/xlat.h>
#include <freeradius-devel/curl/base.h>
#include <freeradius-devel/curl/xlat.h>
#include "base.h"
+ Include dependency graph for xlat.c:

Go to the source code of this file.

Functions

xlat_action_t fr_curl_xlat_uri_escape (UNUSED TALLOC_CTX *ctx, UNUSED fr_dcursor_t *out, UNUSED xlat_ctx_t const *xctx, UNUSED request_t *request, fr_value_box_list_t *in)
 xlat function to escape URI encoded strings More...
 
xlat_action_t fr_curl_xlat_uri_unescape (UNUSED TALLOC_CTX *ctx, UNUSED fr_dcursor_t *out, UNUSED xlat_ctx_t const *xctx, UNUSED request_t *request, fr_value_box_list_t *in)
 xlat function to unescape URI encoded strings More...
 

Variables

int fr_curl_xlat_refs = 0
 
xlat_arg_parser_t const fr_curl_xlat_safe_args []
 
xlat_arg_parser_t const fr_curl_xlat_uri_args []
 

Detailed Description

Generic xlat functions dependent on libcurl.

Id
99fcba1fbc2de4196c4eac9f1e08ecacfc144447

Definition in file xlat.c.

Function Documentation

◆ fr_curl_xlat_uri_escape()

xlat_action_t fr_curl_xlat_uri_escape ( UNUSED TALLOC_CTX *  ctx,
UNUSED fr_dcursor_t out,
UNUSED xlat_ctx_t const *  xctx,
UNUSED request_t request,
fr_value_box_list_t *  in 
)

xlat function to escape URI encoded strings

Definition at line 47 of file xlat.c.

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

◆ fr_curl_xlat_uri_unescape()

xlat_action_t fr_curl_xlat_uri_unescape ( UNUSED TALLOC_CTX *  ctx,
UNUSED fr_dcursor_t out,
UNUSED xlat_ctx_t const *  xctx,
UNUSED request_t request,
fr_value_box_list_t *  in 
)

xlat function to unescape URI encoded strings

Definition at line 77 of file xlat.c.

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

Variable Documentation

◆ fr_curl_xlat_refs

int fr_curl_xlat_refs = 0

Definition at line 32 of file xlat.c.

◆ fr_curl_xlat_safe_args

xlat_arg_parser_t const fr_curl_xlat_safe_args[]
Initial value:
= {
{ .required = true, .concat = true, .type = FR_TYPE_STRING },
}
@ FR_TYPE_STRING
String of printable characters.
Definition: merged_model.c:83
#define XLAT_ARG_PARSER_TERMINATOR
Definition: xlat.h:166

Definition at line 39 of file xlat.c.

◆ fr_curl_xlat_uri_args

xlat_arg_parser_t const fr_curl_xlat_uri_args[]
Initial value:
= {
{ .required = true, .concat = true, .type = FR_TYPE_STRING },
}

Definition at line 34 of file xlat.c.