aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dns/include/dst
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2011-02-05 03:14:55 +0000
committerDoug Barton <dougb@FreeBSD.org>2011-02-05 03:14:55 +0000
commitfccc60c828fe78d2bd780145733aec0ab99dc91f (patch)
tree601b0776df11a070020ab894b76fd90e36393936 /lib/dns/include/dst
parentf805c4c11684ad447d955512cb705ebc2aba9ef3 (diff)
downloadsrc-fccc60c828fe78d2bd780145733aec0ab99dc91f.tar.gz
src-fccc60c828fe78d2bd780145733aec0ab99dc91f.zip
Vendor import of BIND 9.6.3vendor/bind9/9.6.3
Notes
Notes: svn path=/vendor/bind9/dist/; revision=218308 svn path=/vendor/bind9/9.6.3/; revision=218309; tag=vendor/bind9/9.6.3
Diffstat (limited to 'lib/dns/include/dst')
-rw-r--r--lib/dns/include/dst/dst.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/dns/include/dst/dst.h b/lib/dns/include/dst/dst.h
index de262bdafb1a..1a30d2b1382f 100644
--- a/lib/dns/include/dst/dst.h
+++ b/lib/dns/include/dst/dst.h
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dst.h,v 1.12.50.2 2010/01/15 23:47:34 tbox Exp $ */
+/* $Id: dst.h,v 1.12.50.3 2010-12-09 01:12:55 marka Exp $ */
#ifndef DST_DST_H
#define DST_DST_H 1
@@ -509,6 +509,16 @@ dst_key_paramcompare(const dst_key_t *key1, const dst_key_t *key2);
*/
void
+dst_key_attach(dst_key_t *source, dst_key_t **target);
+/*
+ * Attach to a existing key increasing the reference count.
+ *
+ * Requires:
+ *\li 'source' to be a valid key.
+ *\li 'target' to be non-NULL and '*target' to be NULL.
+ */
+
+void
dst_key_free(dst_key_t **keyp);
/*%<
* Release all memory associated with the key.