summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--daemon/lua/kres-gen.lua1
-rwxr-xr-xdaemon/lua/kres-gen.sh1
-rw-r--r--daemon/lua/kres.lua2
3 files changed, 1 insertions, 3 deletions
diff --git a/daemon/lua/kres-gen.lua b/daemon/lua/kres-gen.lua
index 37ce8214..666ef825 100644
--- a/daemon/lua/kres-gen.lua
+++ b/daemon/lua/kres-gen.lua
@@ -161,7 +161,6 @@ uint8_t *knot_rdata_data(const knot_rdata_t *);
knot_rdata_t *knot_rdataset_at(const knot_rdataset_t *, size_t);
uint32_t knot_rrset_ttl(const knot_rrset_t *);
int knot_rrset_txt_dump_data(const knot_rrset_t *, const size_t, char *, const size_t, const knot_dump_style_t *);
-int knot_rrset_txt_dump(const knot_rrset_t *, char *, const size_t, const knot_dump_style_t *);
const knot_dname_t *knot_pkt_qname(const knot_pkt_t *);
uint16_t knot_pkt_qtype(const knot_pkt_t *);
uint16_t knot_pkt_qclass(const knot_pkt_t *);
diff --git a/daemon/lua/kres-gen.sh b/daemon/lua/kres-gen.sh
index 34e4424c..8cbe3e25 100755
--- a/daemon/lua/kres-gen.sh
+++ b/daemon/lua/kres-gen.sh
@@ -76,7 +76,6 @@ genResType "enum kr_query_flag" | sed -e 's/enum kr_query_flag/struct query_flag
knot_rdataset_at
knot_rrset_ttl
knot_rrset_txt_dump_data
- knot_rrset_txt_dump
# Packet
knot_pkt_qname
knot_pkt_qtype
diff --git a/daemon/lua/kres.lua b/daemon/lua/kres.lua
index a24a73a4..8e78e45a 100644
--- a/daemon/lua/kres.lua
+++ b/daemon/lua/kres.lua
@@ -153,7 +153,7 @@ ffi.metatype( knot_rrset_t, {
if i ~= nil then
ret = knot.knot_rrset_txt_dump_data(rr, i, rrset_buf, rrset_buflen, knot.KNOT_DUMP_STYLE_DEFAULT)
else
- ret = knot.knot_rrset_txt_dump(rr, rrset_buf, rrset_buflen, knot.KNOT_DUMP_STYLE_DEFAULT)
+ ret = -1
end
return ret >= 0 and ffi.string(rrset_buf)
end