diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-09-15 08:25:49 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-09-15 08:25:49 +0000 |
commit | d19687d6ebc545b633e14c07429f7892a599d0b9 (patch) | |
tree | 033b6f123581d67026b2375b77175a93dfdc32dd /nscd/nscd.c | |
parent | 5d156bb641c71070aab9129fe1dac03287b9938a (diff) | |
download | glibc-d19687d6ebc545b633e14c07429f7892a599d0b9.tar.gz glibc-d19687d6ebc545b633e14c07429f7892a599d0b9.tar.xz glibc-d19687d6ebc545b633e14c07429f7892a599d0b9.zip |
Update.
2004-09-15 Ulrich Drepper <drepper@redhat.com> * nscd/Makefile (rountines): Add nscd_getai. (nscd-modules): Add aicache. * nscd/aicache.c: New file. * nscd/nscd_getai.c: New file. * nscd/cache.c (prune_cache): Handle GETAI request type. * nscd/connections.c: Add GETAI support in request handling. * nscd/nscd-client.h (request_type): Add GETAI. Define ai_response_header and struct nscd_ai_result types. (struct datahead): Add aidata field. Declare __nscd_getai. * nscd/nscd.c: Add getaddrinfo definition to catch problems. * nscd/nscd.h: Declare addhstai and readdhstai. * sysdeps/posix/getaddrinfo.c: Add support for using cached results. * nscd/nscd-client.h (struct datahead): Use uint8_t instead of bool.
Diffstat (limited to 'nscd/nscd.c')
-rw-r--r-- | nscd/nscd.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nscd/nscd.c b/nscd/nscd.c index 5c5c15598b..facea5ecdb 100644 --- a/nscd/nscd.c +++ b/nscd/nscd.c @@ -465,3 +465,14 @@ write_pid (const char *file) return 0; } + + +/* This is an ugly hack which prevents getaddrinfo from being dragged + into nscd. There currently is no special getaddrinfo version for + use in nscd. In case it should be necessary such a version must be + created and this dummy version should be removed. */ +void +getaddrinfo (void) +{ + abort (); +} |