summaryrefslogtreecommitdiffstats
path: root/include/dnsjit/core/object/dns.lua
diff options
context:
space:
mode:
Diffstat (limited to 'include/dnsjit/core/object/dns.lua')
-rw-r--r--include/dnsjit/core/object/dns.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/dnsjit/core/object/dns.lua b/include/dnsjit/core/object/dns.lua
index 308c067..632fe95 100644
--- a/include/dnsjit/core/object/dns.lua
+++ b/include/dnsjit/core/object/dns.lua
@@ -1,4 +1,4 @@
--- Copyright (c) 2018-2022, OARC, Inc.
+-- Copyright (c) 2018-2023, OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.
@@ -517,6 +517,11 @@ function Dns:free()
C.core_object_dns_free(self)
end
+-- Reset the object readying it for reuse.
+function Dns:reset()
+ C.core_object_dns_reset(self)
+end
+
-- Return the Log object to control logging of this module.
function Dns:log()
return C.core_object_dns_log()