[750] | 1 | /* |
---|
| 2 | * nsswitch_internal.h |
---|
| 3 | * Prototypes for some internal glibc functions that we use. Shhh. |
---|
| 4 | */ |
---|
| 5 | |
---|
| 6 | #ifndef NSSWITCH_INTERNAL_H |
---|
| 7 | #define NSSWITCH_INTERNAL_H |
---|
| 8 | |
---|
[782] | 9 | #include "config.h" |
---|
[750] | 10 | |
---|
[782] | 11 | /* glibc/config.h.in */ |
---|
| 12 | #if defined USE_REGPARMS && !defined PROF && !defined __BOUNDED_POINTERS__ |
---|
| 13 | # define internal_function __attribute__ ((regparm (3), stdcall)) |
---|
| 14 | #else |
---|
| 15 | # define internal_function |
---|
| 16 | #endif |
---|
[750] | 17 | |
---|
[782] | 18 | /* glibc/nss/nsswitch.h */ |
---|
| 19 | typedef struct service_user service_user; |
---|
[750] | 20 | |
---|
[782] | 21 | extern int __nss_next (service_user **ni, const char *fct_name, void **fctp, |
---|
| 22 | int status, int all_values); |
---|
| 23 | extern int __nss_database_lookup (const char *database, |
---|
| 24 | const char *alternative_name, |
---|
| 25 | const char *defconfig, service_user **ni); |
---|
| 26 | extern void *__nss_lookup_function (service_user *ni, const char *fct_name); |
---|
[750] | 27 | |
---|
[782] | 28 | /* glibc/nss/XXX-lookup.c */ |
---|
| 29 | extern int __nss_passwd_lookup (service_user **ni, const char *fct_name, |
---|
| 30 | void **fctp) internal_function; |
---|
| 31 | extern int __nss_group_lookup (service_user **ni, const char *fct_name, |
---|
| 32 | void **fctp) internal_function; |
---|
[750] | 33 | |
---|
| 34 | #endif /* NSSWITCH_INTERNAL_H */ |
---|