diff options
Diffstat (limited to 'nss/nsswitch.h')
-rw-r--r-- | nss/nsswitch.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nss/nsswitch.h b/nss/nsswitch.h index 7da90130ec..2b86d63ddb 100644 --- a/nss/nsswitch.h +++ b/nss/nsswitch.h @@ -219,4 +219,12 @@ libc_hidden_proto (__nss_hostname_digits_dots) #define MAX_NR_ALIASES 48 #define MAX_NR_ADDRS 48 +/* Prototypes for __nss_*_lookup2 functions. */ +#define DEFINE_DATABASE(arg) \ + int __nss_##arg##_lookup2 (service_user **, const char *, \ + const char *, void **); \ + libc_hidden_proto (__nss_##arg##_lookup2) +#include "databases.def" +#undef DEFINE_DATABASE + #endif /* nsswitch.h */ |