aboutsummaryrefslogtreecommitdiff
path: root/lib/pending.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-12-24 12:18:10 -0600
committerRob Landley <rob@landley.net>2015-12-24 12:18:10 -0600
commit6769f8eb580aa2ecac4009fcde4a113e0476de74 (patch)
treef30350deb5dd6056bb52f8888fd0367aa6798ae7 /lib/pending.h
parente32e802240c5b3803b9769948dc7a18b3fc1630c (diff)
downloadtoybox-6769f8eb580aa2ecac4009fcde4a113e0476de74.tar.gz
Move get_line() header to pending.h because posix has FILE * versions.
Diffstat (limited to 'lib/pending.h')
-rw-r--r--lib/pending.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/pending.h b/lib/pending.h
index ffbd0256..fbcc47c8 100644
--- a/lib/pending.h
+++ b/lib/pending.h
@@ -5,4 +5,10 @@
int read_password(char * buff, int buflen, char* mesg);
int update_password(char *filename, char* username, char* encrypted);
+// lib.c
+// These should be switched to posix-2008 getline() and getdelim()
+char *get_rawline(int fd, long *plen, char end);
+char *get_line(int fd);
+
+
// TODO this goes away when lib/password.c cleaned up