aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2012-07-17 08:54:47 -0500
committerRob Landley <rob@landley.net>2012-07-17 08:54:47 -0500
commit2c917f5acc008e73b367ecf82402b5eac08db10c (patch)
tree6ce5d5675ad250648ce8c7828c642540f8587f70 /lib/lib.h
parentc8d0da5358832ab0e24bafc01b934b68f64ec12d (diff)
downloadtoybox-2c917f5acc008e73b367ecf82402b5eac08db10c.tar.gz
Add passwd by Kyungwan Han.
Diffstat (limited to 'lib/lib.h')
-rw-r--r--lib/lib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/lib.h b/lib/lib.h
index 8028737e..de2e214c 100644
--- a/lib/lib.h
+++ b/lib/lib.h
@@ -168,3 +168,8 @@ int sig_to_num(char *pidstr);
char *num_to_sig(int sig);
mode_t string_to_mode(char *mode_str, mode_t base);
+
+// password helper functions
+int read_passwd(char * buff, int buflen, char* mesg);
+int update_passwd(char *filename, char* username, char* encrypted);
+