Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/dnsconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'nslcd/dnsconfig.h')
-rw-r--r--nslcd/dnsconfig.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/nslcd/dnsconfig.h b/nslcd/dnsconfig.h
new file mode 100644
index 0000000..479a717
--- /dev/null
+++ b/nslcd/dnsconfig.h
@@ -0,0 +1,30 @@
+/*
+ dnsconfig.c - lookup code for DNS SRV records
+ This file was part of the nss_ldap library which has been
+ forked into the nss-ldapd library.
+
+ Copyright (C) 1997-2005 Luke Howard
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library 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
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with this library; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ MA 02110-1301 USA
+*/
+
+#ifndef _LDAP_NSS_LDAP_DNSCONFIG_H
+#define _LDAP_NSS_LDAP_DNSCONFIG_H
+
+enum nss_status _nss_ldap_mergeconfigfromdns (struct ldap_config * result,
+ char **buffer, size_t *buflen);
+
+#endif /* _LDAP_NSS_LDAP_DNSCONFIG_H */