summaryrefslogtreecommitdiffstats
path: root/src/rdlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rdlist.h')
-rw-r--r--src/rdlist.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/rdlist.h b/src/rdlist.h
new file mode 100644
index 0000000..d3ce2d0
--- /dev/null
+++ b/src/rdlist.h
@@ -0,0 +1,32 @@
+/* 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);
+
+isc_result_t
+ldap_rdatalist_copy(isc_mem_t *mctx, ldapdb_rdatalist_t source,
+ ldapdb_rdatalist_t *target);
+
+#endif /* !_LD_RDLIST_H_ */