From: Alan T. DeKok Date: Mon, 26 Jan 2026 13:42:56 +0000 (-0500) Subject: remove unused file X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1f39c1739d512388d99666ca95d5942c2083c28;p=thirdparty%2Ffreeradius-server.git remove unused file --- diff --git a/doc/antora/modules/reference/pages/unlang/function.adoc b/doc/antora/modules/reference/pages/unlang/function.adoc deleted file mode 100644 index e8c1af423b9..00000000000 --- a/doc/antora/modules/reference/pages/unlang/function.adoc +++ /dev/null @@ -1,34 +0,0 @@ -you can define functions inside of functions (why not?) - -you can put functions into classes. that defines the prefix, and the protocol. - -otherwise the function must be generic, and not use any protocol-specific attributes. - -class foo { - proto = dhcpv4 - -} - -function uint32 foo(uint32 bar, uint32 baz) -{ - - - return fff -} - -and if the compiler finds a function which is referenced but doesn't exist, it looks in raddb/lib/func/foo/bar -with `.` replaced by `/`. - -it should load the default class description in raddb/lib/class-name/DEFS - -in xlat_tokenize(), when we get XLAT_FUNC_UNRESOLVED, add it to the unresolved function tree. - -then - -while (pop(tree)) { - load function - compile function -} - -// Copyright (C) 2025 Network RADIUS SAS. Licenced under CC-by-NC 4.0. -// This documentation was developed by Network RADIUS SAS.