From: Remi Gacogne Date: Mon, 27 May 2024 14:44:03 +0000 (+0200) Subject: dnsdist: Point the documentation to the correct FFI interface header X-Git-Tag: rec-5.1.0-beta1~9^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e1ccf20c13b2c29bd395826ee47be87aee3e00a3;p=thirdparty%2Fpdns.git dnsdist: Point the documentation to the correct FFI interface header --- diff --git a/pdns/dnsdistdist/docs/reference/actions.rst b/pdns/dnsdistdist/docs/reference/actions.rst index 3defabcfd0..1f8cce7f0d 100644 --- a/pdns/dnsdistdist/docs/reference/actions.rst +++ b/pdns/dnsdistdist/docs/reference/actions.rst @@ -290,7 +290,7 @@ The following actions exist. .. versionadded:: 1.5.0 - Invoke a Lua FFI function that accepts a pointer to a ``dnsdist_ffi_dnsquestion_t`` object, whose bindings are defined in ``dnsdist-lua-ffi.hh``. + Invoke a Lua FFI function that accepts a pointer to a ``dnsdist_ffi_dnsquestion_t`` object, whose bindings are defined in ``dnsdist-lua-ffi-interface.h``. The ``function`` should return a :ref:`DNSAction`. If the Lua code fails, ServFail is returned. @@ -300,7 +300,7 @@ The following actions exist. .. versionadded:: 1.7.0 - Invoke a Lua FFI function that accepts a pointer to a ``dnsdist_ffi_dnsquestion_t`` object, whose bindings are defined in ``dnsdist-lua-ffi.hh``. + Invoke a Lua FFI function that accepts a pointer to a ``dnsdist_ffi_dnsquestion_t`` object, whose bindings are defined in ``dnsdist-lua-ffi-interface.h``. The ``function`` should return a :ref:`DNSAction`. If the Lua code fails, ServFail is returned. @@ -314,7 +314,7 @@ The following actions exist. .. versionadded:: 1.7.0 - Invoke a Lua FFI function that accepts a pointer to a ``dnsdist_ffi_dnsquestion_t`` object, whose bindings are defined in ``dnsdist-lua-ffi.hh``. + Invoke a Lua FFI function that accepts a pointer to a ``dnsdist_ffi_dnsquestion_t`` object, whose bindings are defined in ``dnsdist-lua-ffi-interface.h``. The ``function`` should return a :ref:`DNSResponseAction`. If the Lua code fails, ServFail is returned. @@ -328,7 +328,7 @@ The following actions exist. .. versionadded:: 1.5.0 - Invoke a Lua FFI function that accepts a pointer to a ``dnsdist_ffi_dnsquestion_t`` object, whose bindings are defined in ``dnsdist-lua-ffi.hh``. + Invoke a Lua FFI function that accepts a pointer to a ``dnsdist_ffi_dnsquestion_t`` object, whose bindings are defined in ``dnsdist-lua-ffi-interface.h``. The ``function`` should return a :ref:`DNSResponseAction`. If the Lua code fails, ServFail is returned. diff --git a/pdns/dnsdistdist/docs/reference/selectors.rst b/pdns/dnsdistdist/docs/reference/selectors.rst index 32dbd84d00..b2098b8969 100644 --- a/pdns/dnsdistdist/docs/reference/selectors.rst +++ b/pdns/dnsdistdist/docs/reference/selectors.rst @@ -109,7 +109,7 @@ Selectors can be combined via :func:`AndRule`, :func:`OrRule` and :func:`NotRule .. versionadded:: 1.7.0 - Invoke a Lua FFI function that accepts a pointer to a ``dnsdist_ffi_dnsquestion_t`` object, whose bindings are defined in ``dnsdist-lua-ffi.hh``. + Invoke a Lua FFI function that accepts a pointer to a ``dnsdist_ffi_dnsquestion_t`` object, whose bindings are defined in ``dnsdist-lua-ffi-interface.h``. The ``function`` should return true if the query matches, or false otherwise. If the Lua code fails, false is returned. @@ -123,7 +123,7 @@ Selectors can be combined via :func:`AndRule`, :func:`OrRule` and :func:`NotRule .. versionadded:: 1.5.0 - Invoke a Lua FFI function that accepts a pointer to a ``dnsdist_ffi_dnsquestion_t`` object, whose bindings are defined in ``dnsdist-lua-ffi.hh``. + Invoke a Lua FFI function that accepts a pointer to a ``dnsdist_ffi_dnsquestion_t`` object, whose bindings are defined in ``dnsdist-lua-ffi-interface.h``. The ``function`` should return true if the query matches, or false otherwise. If the Lua code fails, false is returned.