]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
move prototype of xlat_purify()
authorAlan T. DeKok <aland@freeradius.org>
Thu, 19 May 2022 23:06:55 +0000 (19:06 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 20 May 2022 16:09:00 +0000 (12:09 -0400)
src/lib/unlang/xlat.h
src/lib/unlang/xlat_priv.h

index c61773369e8294ac427984acb10a645527eb7f3a..e3b4ea75a08501eaded3fb01d48c95649e86da15 100644 (file)
@@ -404,6 +404,12 @@ int                xlat_bootstrap(xlat_exp_head_t *root);
 
 void           xlat_instances_free(void);
 
+/*
+ *     xlat_purify.c
+ */
+typedef struct unlang_interpret_s unlang_interpret_t;
+int            xlat_purify(xlat_exp_head_t *head, unlang_interpret_t *intp);
+
 /*
  *     xlat.c
  */
index 3b612f5718aee74f1685269b30c3057b1ff2c2ba..e77fdbb13f69cf1c4b74f0f179e7199eaf611d72 100644 (file)
@@ -31,7 +31,6 @@ extern "C" {
 #endif
 
 #include <freeradius-devel/io/pair.h>
-#include <freeradius-devel/unlang/interpret.h>
 
 #ifdef DEBUG_XLAT
 #  define XLAT_DEBUG RDEBUG3
@@ -334,12 +333,6 @@ int                xlat_tokenize_function_args(xlat_exp_head_t *head, fr_sbuff_t *in,
 
 ssize_t                xlat_print_node(fr_sbuff_t *out, xlat_exp_head_t const *head, xlat_exp_t const *node, fr_sbuff_escape_rules_t const *e_rules);
 
-/*
- *     xlat_purify.c
- */
-int            xlat_purify(xlat_exp_head_t *head, unlang_interpret_t *intp);
-
-
 static inline xlat_exp_t *xlat_exp_head(xlat_exp_head_t const *head)
 {
        if (!head) return NULL;