diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2023-12-10 09:45:31 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2023-12-10 09:45:31 +0000 |
commit | f5b47f1a6e9048e72f1e3b0e0f7c03459e20ca66 (patch) | |
tree | b0042536e5ff6047564d27d25470dcec2b92f258 /include/dnsjit/core/object/dns.c | |
parent | Releasing debian version 1.2.3-3. (diff) | |
download | dnsjit-f5b47f1a6e9048e72f1e3b0e0f7c03459e20ca66.tar.xz dnsjit-f5b47f1a6e9048e72f1e3b0e0f7c03459e20ca66.zip |
Merging upstream version 1.3.0.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to '')
-rw-r--r-- | include/dnsjit/core/object/dns.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/dnsjit/core/object/dns.c b/include/dnsjit/core/object/dns.c index 0698286..a4bf309 100644 --- a/include/dnsjit/core/object/dns.c +++ b/include/dnsjit/core/object/dns.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018-2022, OARC, Inc. + * Copyright (c) 2018-2023, OARC, Inc. * All rights reserved. * * This file is part of dnsjit. @@ -95,6 +95,12 @@ void core_object_dns_free(core_object_dns_t* self) free(self); } +void core_object_dns_reset(core_object_dns_t* self) +{ + mlassert_self(); + *self = _defaults; +} + #define need8(v, p, l) \ if (l < 1) { \ break; \ |