Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ulrich Drepper committed Sep 15, 2004
1 parent 5d156bb commit d19687d
Show file tree
Hide file tree
Showing 11 changed files with 863 additions and 30 deletions.
19 changes: 19 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
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.

2004-09-14 Ulrich Drepper <drepper@redhat.com>

* misc/sys/cdefs.h: Remove debugging text from __P and __PMT.
Expand Down
12 changes: 5 additions & 7 deletions misc/sys/cdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,27 +54,25 @@
# 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. */

# define __inline /* No inline functions. */

# define __THROW
# define __NTH(fct) fct
# define __P(args) args
# define __PMT(args) args

# define __const const
# define __signed signed
# define __volatile volatile

#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. */

Expand Down
4 changes: 2 additions & 2 deletions nscd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#
subdir := nscd

routines := nscd_getpw_r nscd_getgr_r nscd_gethst_r
routines := nscd_getpw_r nscd_getgr_r nscd_gethst_r nscd_getai
aux := nscd_helper

include ../Makeconfig
Expand All @@ -32,7 +32,7 @@ vpath %.c ../locale/programs
nscd-modules := nscd connections pwdcache getpwnam_r getpwuid_r grpcache \
getgrnam_r getgrgid_r hstcache gethstbyad_r gethstbynm2_r \
dbg_log nscd_conf nscd_stat cache mem nscd_setup_thread \
xmalloc xstrdup
xmalloc xstrdup aicache

ifeq ($(have-thread-library),yes)

Expand Down
Loading

0 comments on commit d19687d

Please sign in to comment.