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

Generic xlat functions dependent on libcurl. More...

#include <curl/curl.h>
#include <freeradius-devel/unlang/xlat.h>
+ Include dependency graph for xlat.h:

Go to the source code of this file.

Macros

#define CURL_URI_SAFE_FOR   ((fr_value_box_safe_for_t)fr_curl_xlat_uri_escape)
 safe for value suitable for all users of the curl library More...
 

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

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.

Definition in file xlat.h.

Macro Definition Documentation

◆ CURL_URI_SAFE_FOR

safe for value suitable for all users of the curl library

Definition at line 36 of file xlat.h.

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_safe_args

xlat_arg_parser_t const fr_curl_xlat_safe_args[]
extern

Definition at line 39 of file xlat.c.

◆ fr_curl_xlat_uri_args

xlat_arg_parser_t const fr_curl_xlat_uri_args[]
extern

Definition at line 34 of file xlat.c.