source: branches/fc20-dev/server/common/oursrc/nss_nonlocal/nsswitch-internal.h @ 2523

Last change on this file since 2523 was 782, checked in by andersk, 16 years ago
Update to nss_nonlocal 1.7, which fixes the nscd bug.
File size: 1.0 KB
Line 
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
9#include "config.h"
10
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
17
18/* glibc/nss/nsswitch.h */
19typedef struct service_user service_user;
20
21extern int __nss_next (service_user **ni, const char *fct_name, void **fctp,
22                       int status, int all_values);
23extern int __nss_database_lookup (const char *database,
24                                  const char *alternative_name,
25                                  const char *defconfig, service_user **ni);
26extern void *__nss_lookup_function (service_user *ni, const char *fct_name);
27
28/* glibc/nss/XXX-lookup.c */
29extern int __nss_passwd_lookup (service_user **ni, const char *fct_name,
30                                void **fctp) internal_function;
31extern int __nss_group_lookup (service_user **ni, const char *fct_name,
32                                void **fctp) internal_function;
33
34#endif /* NSSWITCH_INTERNAL_H */
Note: See TracBrowser for help on using the repository browser.