summaryrefslogtreecommitdiff
path: root/libc/pwd_grp/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/pwd_grp/config.h')
-rw-r--r--libc/pwd_grp/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libc/pwd_grp/config.h b/libc/pwd_grp/config.h
index 5a5272999..2c3c6c3f0 100644
--- a/libc/pwd_grp/config.h
+++ b/libc/pwd_grp/config.h
@@ -24,12 +24,21 @@
#include <pwd.h>
#include <grp.h>
+#include <shadow.h>
/* These are used internally to uClibc */
extern struct group * __getgrent __P ((int grp_fd));
extern int __getpwent_r(struct passwd * passwd, char * line_buff,
size_t buflen, int pwd_fd);
+extern int __getspent_r(struct spwd * spwd, char * line_buff,
+ size_t buflen, int spwd_fd);
+extern int __sgetspent_r(const char * string, struct spwd * spwd,
+ char * line_buff, size_t buflen);
+
+
+#define PWD_BUFFER_SIZE 256
+
/*
* Define GR_SCALE_DYNAMIC if you want grp to dynamically scale its read buffer