The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Loading...
Searching...
No Matches
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, 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
 
xlat_action_t fr_curl_xlat_uri_unescape (UNUSED TALLOC_CTX *ctx, 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
 

Variables

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
84a4fcc4aa88fbc95e55d37a67e6545916338e31

Definition in file xlat.c.

Function Documentation

◆ fr_curl_xlat_uri_escape()

xlat_action_t fr_curl_xlat_uri_escape ( UNUSED TALLOC_CTX *  ctx,
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 45 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,
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 73 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_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.
#define XLAT_ARG_PARSER_TERMINATOR
Definition xlat.h:168

Definition at line 37 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 32 of file xlat.c.