From a1f8433a0c4901b74ee3e21cfe641afdd7929226 Mon Sep 17 00:00:00 2001 From: Arran Cudbard-Bell Date: Sun, 27 Nov 2016 17:02:35 -0500 Subject: [PATCH] Ifdef out all the xlat code --- src/modules/rlm_rest/rlm_rest.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/rlm_rest/rlm_rest.c b/src/modules/rlm_rest/rlm_rest.c index 465d295b4c9f..638175646f8d 100644 --- a/src/modules/rlm_rest/rlm_rest.c +++ b/src/modules/rlm_rest/rlm_rest.c @@ -170,6 +170,7 @@ static int rlm_rest_perform(rlm_rest_t const *instance, rlm_rest_thread_t *threa return 0; } +#if 0 /* * Simple xlat to read text data from a URL */ @@ -288,7 +289,6 @@ static ssize_t rest_xlat(UNUSED TALLOC_CTX *ctx, char **out, UNUSED size_t outle return 0; /* FIXME XLAT YIELD */ } -#if 0 static ssize_t rest_xlat_resume(UNUSED TALLOC_CTX *ctx, char **out, UNUSED size_t outlen, void const *mod_inst, UNUSED void const *xlat_inst, REQUEST *request, UNUSED char const *fmt) @@ -988,10 +988,12 @@ static int mod_bootstrap(CONF_SECTION *conf, void *instance) inst->xlat_name = cf_section_name2(conf); if (!inst->xlat_name) inst->xlat_name = cf_section_name1(conf); +#if 0 /* * Register the rest xlat function */ xlat_register(inst, inst->xlat_name, rest_xlat, rest_uri_escape, NULL, 0, 0); +#endif return 0; }