diff options
author | Andreas Jaeger <aj@suse.de> | 2000-12-27 19:58:36 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-12-27 19:58:36 +0000 |
commit | ed073f0e6249dc1bcecb3f72fa941d01b516be3f (patch) | |
tree | 8dfe5133dfe2d1516103f7f46cca1ff44bdb4f01 /include/shadow.h | |
parent | 27ee0a559513db0d0e650761b6f4268b39199c74 (diff) | |
download | glibc-ed073f0e6249dc1bcecb3f72fa941d01b516be3f.tar.gz glibc-ed073f0e6249dc1bcecb3f72fa941d01b516be3f.tar.xz glibc-ed073f0e6249dc1bcecb3f72fa941d01b516be3f.zip |
Add prototype for foo.
Diffstat (limited to 'include/shadow.h')
-rw-r--r-- | include/shadow.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/shadow.h b/include/shadow.h index 5bbaac3543..0ae6b2111a 100644 --- a/include/shadow.h +++ b/include/shadow.h @@ -4,9 +4,14 @@ /* Now define the internal interfaces. */ extern int __getspent_r (struct spwd *__result_buf, char *__buffer, size_t __buflen, struct spwd **__result); +extern int __old_getspent_r (struct spwd *__result_buf, char *__buffer, + size_t __buflen, struct spwd **__result); extern int __getspnam_r (__const char *__name, struct spwd *__result_buf, char *__buffer, size_t __buflen, struct spwd **__result); +extern int __old_getspnam_r (__const char *__name, struct spwd *__result_buf, + char *__buffer, size_t __buflen, + struct spwd **__result); extern int __sgetspent_r (__const char *__string, struct spwd *__result_buf, char *__buffer, size_t __buflen, struct spwd **__result); @@ -16,6 +21,11 @@ extern int __fgetspent_r (FILE *__stream, struct spwd *__result_buf, extern int __lckpwdf (void); extern int __ulckpwdf (void); +struct parser_data; +extern int _nss_files_parse_spent (char *line, struct spwd *result, + struct parser_data *data, + size_t datalen, int *errnop); + #define DECLARE_NSS_PROTOTYPES(service) \ extern enum nss_status _nss_ ## service ## _setspent (int); \ extern enum nss_status _nss_ ## service ## _endspent (void); \ |