Remove hidden __libc_longjmp
[glibc.git] / include / shadow.h
blob366ea834829e7686e83d806f97c554b0b494a569
1 #ifndef _SHADOW_H
2 #include <shadow/shadow.h>
4 # ifndef _ISOMAC
6 /* Now define the internal interfaces. */
7 extern int __getspent_r (struct spwd *__result_buf, char *__buffer,
8 size_t __buflen, struct spwd **__result)
9 attribute_hidden;
10 extern int __old_getspent_r (struct spwd *__result_buf, char *__buffer,
11 size_t __buflen, struct spwd **__result);
12 extern int __getspnam_r (const char *__name, struct spwd *__result_buf,
13 char *__buffer, size_t __buflen,
14 struct spwd **__result) attribute_hidden;
15 extern int __old_getspnam_r (const char *__name, struct spwd *__result_buf,
16 char *__buffer, size_t __buflen,
17 struct spwd **__result);
18 extern int __sgetspent_r (const char *__string,
19 struct spwd *__result_buf, char *__buffer,
20 size_t __buflen, struct spwd **__result)
21 attribute_hidden;
22 extern int __fgetspent_r (FILE *__stream, struct spwd *__result_buf,
23 char *__buffer, size_t __buflen,
24 struct spwd **__result) attribute_hidden;
25 extern int __lckpwdf (void);
26 extern int __ulckpwdf (void);
28 struct parser_data;
29 extern int _nss_files_parse_spent (char *line, struct spwd *result,
30 struct parser_data *data,
31 size_t datalen, int *errnop);
32 libc_hidden_proto (_nss_files_parse_spent)
34 #define DECLARE_NSS_PROTOTYPES(service) \
35 extern enum nss_status _nss_ ## service ## _setspent (int); \
36 extern enum nss_status _nss_ ## service ## _endspent (void); \
37 extern enum nss_status _nss_ ## service ## _getspent_r \
38 (struct spwd *pwd, char *buffer, size_t buflen, \
39 int *errnop); \
40 extern enum nss_status _nss_ ## service ## _getspnam_r \
41 (const char *name, struct spwd *pwd, \
42 char *buffer, size_t buflen, int *errnop);
44 DECLARE_NSS_PROTOTYPES (compat)
45 DECLARE_NSS_PROTOTYPES (files)
46 DECLARE_NSS_PROTOTYPES (hesiod)
47 DECLARE_NSS_PROTOTYPES (nis)
48 DECLARE_NSS_PROTOTYPES (nisplus)
50 #undef DECLARE_NSS_PROTOTYPES
53 # endif /* !_ISOMAC */
54 #endif