diff options
author | Lukáš Ondráček <lukas.ondracek@nic.cz> | 2024-06-05 20:26:15 +0200 |
---|---|---|
committer | Lukáš Ondráček <lukas.ondracek@nic.cz> | 2024-06-06 19:39:19 +0200 |
commit | e7761ef12e12f79effed618356f8cc2fd9966071 (patch) | |
tree | 717aa93cefdfd008ae5c06cc3b07d3888e10ff63 /daemon/lua | |
parent | rrl: tidying (diff) | |
download | knot-resolver-e7761ef12e12f79effed618356f8cc2fd9966071.tar.xz knot-resolver-e7761ef12e12f79effed618356f8cc2fd9966071.zip |
ratelimiting: moving mmapping to daemon/mmapped
Diffstat (limited to 'daemon/lua')
-rw-r--r-- | daemon/lua/kres-gen-30.lua | 2 | ||||
-rw-r--r-- | daemon/lua/kres-gen-31.lua | 2 | ||||
-rw-r--r-- | daemon/lua/kres-gen-32.lua | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/daemon/lua/kres-gen-30.lua b/daemon/lua/kres-gen-30.lua index c7df184c..b5ff1478 100644 --- a/daemon/lua/kres-gen-30.lua +++ b/daemon/lua/kres-gen-30.lua @@ -581,7 +581,7 @@ knot_pkt_t *worker_resolve_mk_pkt(const char *, uint16_t, uint16_t, const struct struct qr_task *worker_resolve_start(knot_pkt_t *, struct kr_qflags); int zi_zone_import(const zi_config_t); _Bool ratelimiting_request_begin(struct kr_request *); -void ratelimiting_init(const char *, size_t, uint32_t, uint32_t, int); +int ratelimiting_init(const char *, size_t, uint32_t, uint32_t, int); struct engine { char _stub[]; }; diff --git a/daemon/lua/kres-gen-31.lua b/daemon/lua/kres-gen-31.lua index 28c9c5a6..51f93dc7 100644 --- a/daemon/lua/kres-gen-31.lua +++ b/daemon/lua/kres-gen-31.lua @@ -581,7 +581,7 @@ knot_pkt_t *worker_resolve_mk_pkt(const char *, uint16_t, uint16_t, const struct struct qr_task *worker_resolve_start(knot_pkt_t *, struct kr_qflags); int zi_zone_import(const zi_config_t); _Bool ratelimiting_request_begin(struct kr_request *); -void ratelimiting_init(const char *, size_t, uint32_t, uint32_t, int); +int ratelimiting_init(const char *, size_t, uint32_t, uint32_t, int); struct engine { char _stub[]; }; diff --git a/daemon/lua/kres-gen-32.lua b/daemon/lua/kres-gen-32.lua index cbf4b304..35acdeb1 100644 --- a/daemon/lua/kres-gen-32.lua +++ b/daemon/lua/kres-gen-32.lua @@ -582,7 +582,7 @@ knot_pkt_t *worker_resolve_mk_pkt(const char *, uint16_t, uint16_t, const struct struct qr_task *worker_resolve_start(knot_pkt_t *, struct kr_qflags); int zi_zone_import(const zi_config_t); _Bool ratelimiting_request_begin(struct kr_request *); -void ratelimiting_init(const char *, size_t, uint32_t, uint32_t, int); +int ratelimiting_init(const char *, size_t, uint32_t, uint32_t, int); struct engine { char _stub[]; }; |