From e1ccf20c13b2c29bd395826ee47be87aee3e00a3 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 27 May 2024 16:44:03 +0200 Subject: [PATCH] dnsdist: Point the documentation to the correct FFI interface header --- pdns/dnsdistdist/docs/reference/actions.rst | 8 ++++---- pdns/dnsdistdist/docs/reference/selectors.rst | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) 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. -- 2.47.2