]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
add xlat expressions
authorAlan T. DeKok <aland@freeradius.org>
Tue, 18 Jan 2022 21:56:13 +0000 (16:56 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 18 Jan 2022 21:56:13 +0000 (16:56 -0500)
commit1a82c9c8e8b43410ea6b47690edea997acd3e9ae
tree87cb97966e4e38a4f0fe773e4232e2758c72a026
parent2e867279c2a9afd04a298d8fd03f2f66f9a215b9
add xlat expressions

currently not used anywhere other than tests.

Next steps are to change XLAT_ATTRIBUTE to XLAT_TMPL, so that
we can have enums, regexes, and unparsed strings in expressions
src/bin/unit_test_attribute.c
src/lib/unlang/all.mk
src/lib/unlang/xlat_builtin.c
src/lib/unlang/xlat_expr.c [new file with mode: 0644]
src/lib/unlang/xlat_priv.h
src/lib/unlang/xlat_tokenize.c
src/tests/unit/xlat/expr.txt [new file with mode: 0644]