OSDN Git Service

Merge remote-tracking branch 'toybox/master' into HEAD
[android-x86/external-toybox.git] / lib / pending.h
1 // pending.h - header for pending.c
2
3 // password.c
4 #define MAX_SALT_LEN  20 //3 for id, 16 for key, 1 for '\0'
5 int read_password(char * buff, int buflen, char* mesg);
6 int update_password(char *filename, char* username, char* encrypted);
7
8 // lib.c
9 // These should be switched to posix-2008 getline() and getdelim()
10 char *get_rawline(int fd, long *plen, char end);
11 char *get_line(int fd);
12
13
14 // TODO this goes away when lib/password.c cleaned up