aboutsummaryrefslogtreecommitdiff
path: root/nscd/nscd_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/nscd_proto.h')
-rw-r--r--nscd/nscd_proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nscd/nscd_proto.h b/nscd/nscd_proto.h
index 0c3cc73..b0ee03c 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 */