mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
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.
This commit is contained in:
@ -54,11 +54,6 @@
|
||||
# define __NTH(fct) fct
|
||||
# endif
|
||||
# endif
|
||||
/* These two macros are not usde in glibc anymore. They are kept here
|
||||
only because some other projects expect the macros to be
|
||||
defined. */
|
||||
# define __P(args) args
|
||||
# define __PMT(args) args
|
||||
|
||||
#else /* Not GCC. */
|
||||
|
||||
@ -66,8 +61,6 @@
|
||||
|
||||
# define __THROW
|
||||
# define __NTH(fct) fct
|
||||
# define __P(args) args
|
||||
# define __PMT(args) args
|
||||
|
||||
# define __const const
|
||||
# define __signed signed
|
||||
@ -75,6 +68,11 @@
|
||||
|
||||
#endif /* GCC. */
|
||||
|
||||
/* These two macros are not used in glibc anymore. They are kept here
|
||||
only because some other projects expect the macros to be defined. */
|
||||
#define __P(args) args
|
||||
#define __PMT(args) args
|
||||
|
||||
/* For these things, GCC behaves the ANSI way normally,
|
||||
and the non-ANSI way under -traditional. */
|
||||
|
||||
|
Reference in New Issue
Block a user