diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-03 07:47:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-03 07:47:50 +0000 |
commit | 457bae11cd28f65a55ec0ac153992e17ca8a71a2 (patch) | |
tree | 7d6d9656ef387a4d01bf3862621c0f39eddfd2a7 /src/gns | |
parent | 0aaaa22847964fe1f1924292b333c8afc4807ee3 (diff) | |
download | gnunet-457bae11cd28f65a55ec0ac153992e17ca8a71a2.tar.gz gnunet-457bae11cd28f65a55ec0ac153992e17ca8a71a2.zip |
-make doxygen happy
Diffstat (limited to 'src/gns')
-rw-r--r-- | src/gns/nss/nss_gns.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/gns/nss/nss_gns.c b/src/gns/nss/nss_gns.c index 28c342390..9755ea111 100644 --- a/src/gns/nss/nss_gns.c +++ b/src/gns/nss/nss_gns.c | |||
@@ -33,19 +33,25 @@ | |||
33 | #include <stdio.h> | 33 | #include <stdio.h> |
34 | #include <stdlib.h> | 34 | #include <stdlib.h> |
35 | 35 | ||
36 | #elif defined(NSS_IPV4_ONLY) | 36 | #ifdef NSS_IPV4_ONLY |
37 | #define _nss_mdns_gethostbyname2_r _nss_gns4_minimal_gethostbyname2_r | 37 | #define _nss_mdns_gethostbyname2_r _nss_gns4_minimal_gethostbyname2_r |
38 | #define _nss_mdns_gethostbyname_r _nss_gns4_minimal_gethostbyname_r | 38 | #define _nss_mdns_gethostbyname_r _nss_gns4_minimal_gethostbyname_r |
39 | #define _nss_mdns_gethostbyaddr_r _nss_gns4_minimal_gethostbyaddr_r | 39 | #define _nss_mdns_gethostbyaddr_r _nss_gns4_minimal_gethostbyaddr_r |
40 | #elif defined(NSS_IPV6_ONLY) | 40 | #endif |
41 | |||
42 | #ifdef NSS_IPV6_ONLY | ||
41 | #define _nss_mdns_gethostbyname2_r _nss_gns6_gethostbyname2_r | 43 | #define _nss_mdns_gethostbyname2_r _nss_gns6_gethostbyname2_r |
42 | #define _nss_mdns_gethostbyname_r _nss_gns6_gethostbyname_r | 44 | #define _nss_mdns_gethostbyname_r _nss_gns6_gethostbyname_r |
43 | #define _nss_mdns_gethostbyaddr_r _nss_gns6_gethostbyaddr_r | 45 | #define _nss_mdns_gethostbyaddr_r _nss_gns6_gethostbyaddr_r |
44 | #else | 46 | #endif |
47 | |||
48 | #ifndef NSS_IPV4_ONLY | ||
49 | #ifndef NSS_IPV6_ONLY | ||
45 | #define _nss_mdns_gethostbyname2_r _nss_gns_gethostbyname2_r | 50 | #define _nss_mdns_gethostbyname2_r _nss_gns_gethostbyname2_r |
46 | #define _nss_mdns_gethostbyname_r _nss_gns_gethostbyname_r | 51 | #define _nss_mdns_gethostbyname_r _nss_gns_gethostbyname_r |
47 | #define _nss_mdns_gethostbyaddr_r _nss_gns_gethostbyaddr_r | 52 | #define _nss_mdns_gethostbyaddr_r _nss_gns_gethostbyaddr_r |
48 | #endif | 53 | #endif |
54 | #endif | ||
49 | 55 | ||
50 | /* Maximum number of entries to return */ | 56 | /* Maximum number of entries to return */ |
51 | #define MAX_ENTRIES 16 | 57 | #define MAX_ENTRIES 16 |