diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-09-16 22:54:54 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-09-16 22:54:54 +0000 |
commit | 62417d7ee84a198103fbc5e871bf35e0d5efc4d0 (patch) | |
tree | bd019119a0a9c56f8b081c831907cf272306e24f /nscd/nscd_proto.h | |
parent | 40a8d825af282293e79c9d28b5035501fdd6acd4 (diff) | |
download | glibc-62417d7ee84a198103fbc5e871bf35e0d5efc4d0.tar.gz glibc-62417d7ee84a198103fbc5e871bf35e0d5efc4d0.tar.xz glibc-62417d7ee84a198103fbc5e871bf35e0d5efc4d0.zip |
iAdd __nscd_getai prototype.
Diffstat (limited to 'nscd/nscd_proto.h')
-rw-r--r-- | nscd/nscd_proto.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nscd/nscd_proto.h b/nscd/nscd_proto.h index 0c3cc73296..b0ee03cd84 100644 --- a/nscd/nscd_proto.h +++ b/nscd/nscd_proto.h @@ -24,6 +24,9 @@ #include <netdb.h> #include <pwd.h> +/* Interval in which we transfer retry to contact the NSCD. */ +#define NSS_NSCD_RETRY 100 + /* Variables for communication between NSCD handler functions and NSS. */ extern int __nss_not_use_nscd_passwd attribute_hidden; extern int __nss_not_use_nscd_group attribute_hidden; @@ -53,5 +56,7 @@ extern int __nscd_gethostbyaddr_r (const void *addr, socklen_t len, int type, struct hostent *resultbuf, char *buffer, size_t buflen, struct hostent **result, int *h_errnop); +extern int __nscd_getai (const char *key, struct nscd_ai_result **result, + int *h_errnop); #endif /* _NSCD_PROTO_H */ |