diff options
Diffstat (limited to 'glibc-compat/include/shadow.h')
-rw-r--r-- | glibc-compat/include/shadow.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/glibc-compat/include/shadow.h b/glibc-compat/include/shadow.h new file mode 100644 index 0000000000..e9429d7369 --- /dev/null +++ b/glibc-compat/include/shadow.h @@ -0,0 +1,24 @@ +#ifndef _SHADOW_H +#include <shadow/shadow.h> + +/* 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); +extern int __fgetspent_r (FILE *__stream, struct spwd *__result_buf, + char *__buffer, size_t __buflen, + struct spwd **__result); +extern int __lckpwdf (void); +extern int __ulckpwdf (void); + +#endif |