summaryrefslogtreecommitdiffstats
path: root/rdlist.h
diff options
context:
space:
mode:
authorMartin Nagy <mnagy@redhat.com>2009-03-13 20:47:04 +0100
committerMartin Nagy <mnagy@redhat.com>2009-03-14 01:02:32 +0100
commit093e3d91f4f581bd6f2f6e17c26c23c44fa83714 (patch)
tree6809ba86ac0f0b74c165d971df90d4ddf27b3512 /rdlist.h
parent168b710feef318d238f8ef5e090f08a680b5ca23 (diff)
downloadldap_driver_testing-093e3d91f4f581bd6f2f6e17c26c23c44fa83714.tar.gz
ldap_driver_testing-093e3d91f4f581bd6f2f6e17c26c23c44fa83714.tar.xz
ldap_driver_testing-093e3d91f4f581bd6f2f6e17c26c23c44fa83714.zip
Separate rdatalist cloning to it's own function.
Diffstat (limited to 'rdlist.h')
-rw-r--r--rdlist.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/rdlist.h b/rdlist.h
new file mode 100644
index 0000000..c9cf7df
--- /dev/null
+++ b/rdlist.h
@@ -0,0 +1,28 @@
+/* Authors: Adam Tkac <atkac@redhat.com>
+ * Martin Nagy <mnagy@redhat.com>
+ *
+ * Copyright (C) 2009 Red Hat
+ * see file 'COPYING' for use and warranty information
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; version 2 only
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef _LD_RDLIST_H_
+#define _LD_RDLIST_H_
+
+isc_result_t
+rdatalist_clone(isc_mem_t *mctx, dns_rdatalist_t *source,
+ dns_rdatalist_t **targetp);
+
+#endif /* !_LD_RDLIST_H_ */