summaryrefslogtreecommitdiff
path: root/resolve.h
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2006-10-12 12:32:06 +0000
committerArthur de Jong <arthur@arthurdejong.org>2006-10-12 12:32:06 +0000
commitf1de6decf34b37672e2c4cc3d191b689a95d07d1 (patch)
tree4a20e4a3761d319f2e9d698170c9b7d5f1b80065 /resolve.h
parentfc7cea9f90281ecc8fe97eb3e1767ea814c99a8f (diff)
some more small cleanups of code for non-supported systems and convert tabs to spaces
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@13 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'resolve.h')
-rw-r--r--resolve.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/resolve.h b/resolve.h
index 182367d..5542b57 100644
--- a/resolve.h
+++ b/resolve.h
@@ -47,13 +47,13 @@
/* We use these, but they are not always present in <arpa/nameser.h> */
#ifndef T_TXT
-#define T_TXT 16
+#define T_TXT 16
#endif
#ifndef T_AFSDB
-#define T_AFSDB 18
+#define T_AFSDB 18
#endif
#ifndef T_SRV
-#define T_SRV 33
+#define T_SRV 33
#endif
struct dns_query
@@ -88,7 +88,7 @@ struct resource_record
{
void *data;
struct mx_record *mx;
- struct mx_record *afsdb; /* mx and afsdb are identical */
+ struct mx_record *afsdb; /* mx and afsdb are identical */
struct srv_record *srv;
struct in_addr *a;
char *txt;
@@ -98,8 +98,8 @@ struct resource_record
};
-#ifndef HAVE_ARPA_NAMESER_H /* XXX */
-typedef int HEADER; /* will never be used */
+#ifndef HAVE_ARPA_NAMESER_H /* XXX */
+typedef int HEADER; /* will never be used */
#endif
struct dns_reply
@@ -109,8 +109,8 @@ struct dns_reply
struct resource_record *head;
};
-#define dns_lookup _nss_ldap_dns_lookup
-#define dns_free_data _nss_ldap_dns_free_data
+#define dns_lookup _nss_ldap_dns_lookup
+#define dns_free_data _nss_ldap_dns_free_data
struct dns_reply *dns_lookup (const char *, const char *);