|
Packit |
6c4009 |
#ifndef _SHADOW_H
|
|
Packit |
6c4009 |
#include <shadow/shadow.h>
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
# ifndef _ISOMAC
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
/* Now define the internal interfaces. */
|
|
Packit |
6c4009 |
extern int __getspent_r (struct spwd *__result_buf, char *__buffer,
|
|
Packit |
6c4009 |
size_t __buflen, struct spwd **__result)
|
|
Packit |
6c4009 |
attribute_hidden;
|
|
Packit |
6c4009 |
extern int __old_getspent_r (struct spwd *__result_buf, char *__buffer,
|
|
Packit |
6c4009 |
size_t __buflen, struct spwd **__result);
|
|
Packit |
6c4009 |
extern int __getspnam_r (const char *__name, struct spwd *__result_buf,
|
|
Packit |
6c4009 |
char *__buffer, size_t __buflen,
|
|
Packit |
6c4009 |
struct spwd **__result) attribute_hidden;
|
|
Packit |
6c4009 |
extern int __old_getspnam_r (const char *__name, struct spwd *__result_buf,
|
|
Packit |
6c4009 |
char *__buffer, size_t __buflen,
|
|
Packit |
6c4009 |
struct spwd **__result);
|
|
Packit |
6c4009 |
extern int __sgetspent_r (const char *__string,
|
|
Packit |
6c4009 |
struct spwd *__result_buf, char *__buffer,
|
|
Packit |
6c4009 |
size_t __buflen, struct spwd **__result)
|
|
Packit |
6c4009 |
attribute_hidden;
|
|
Packit |
6c4009 |
extern int __fgetspent_r (FILE *__stream, struct spwd *__result_buf,
|
|
Packit |
6c4009 |
char *__buffer, size_t __buflen,
|
|
Packit |
6c4009 |
struct spwd **__result) attribute_hidden;
|
|
Packit |
6c4009 |
extern int __lckpwdf (void);
|
|
Packit |
6c4009 |
extern int __ulckpwdf (void);
|
|
Packit |
6c4009 |
|
|
Packit Service |
c82647 |
struct parser_data;
|
|
Packit Service |
c82647 |
extern int _nss_files_parse_spent (char *line, struct spwd *result,
|
|
Packit Service |
c82647 |
struct parser_data *data,
|
|
Packit Service |
c82647 |
size_t datalen, int *errnop);
|
|
Packit Service |
c82647 |
libc_hidden_proto (_nss_files_parse_spent)
|
|
Packit Service |
c82647 |
|
|
Packit |
6c4009 |
#define DECLARE_NSS_PROTOTYPES(service) \
|
|
Packit |
6c4009 |
extern enum nss_status _nss_ ## service ## _setspent (int); \
|
|
Packit |
6c4009 |
extern enum nss_status _nss_ ## service ## _endspent (void); \
|
|
Packit |
6c4009 |
extern enum nss_status _nss_ ## service ## _getspent_r \
|
|
Packit |
6c4009 |
(struct spwd *pwd, char *buffer, size_t buflen, \
|
|
Packit |
6c4009 |
int *errnop); \
|
|
Packit |
6c4009 |
extern enum nss_status _nss_ ## service ## _getspnam_r \
|
|
Packit |
6c4009 |
(const char *name, struct spwd *pwd, \
|
|
Packit |
6c4009 |
char *buffer, size_t buflen, int *errnop);
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
DECLARE_NSS_PROTOTYPES (compat)
|
|
Packit |
6c4009 |
DECLARE_NSS_PROTOTYPES (files)
|
|
Packit |
6c4009 |
DECLARE_NSS_PROTOTYPES (hesiod)
|
|
Packit |
6c4009 |
DECLARE_NSS_PROTOTYPES (nis)
|
|
Packit |
6c4009 |
DECLARE_NSS_PROTOTYPES (nisplus)
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
#undef DECLARE_NSS_PROTOTYPES
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
|
|
Packit |
6c4009 |
# endif /* !_ISOMAC */
|
|
Packit |
6c4009 |
#endif
|