Rob Landley | 34b91a9 | 2013-11-10 18:20:16 -0600 | [diff] [blame] | 1 | // pending.h - header for pending.c |
| 2 | |
Rob Landley | 34b91a9 | 2013-11-10 18:20:16 -0600 | [diff] [blame] | 3 | // password.c |
| 4 | #define MAX_SALT_LEN 20 //3 for id, 16 for key, 1 for '\0' |
Rob Landley | 34b91a9 | 2013-11-10 18:20:16 -0600 | [diff] [blame] | 5 | int read_password(char * buff, int buflen, char* mesg); |
| 6 | int update_password(char *filename, char* username, char* encrypted); |
Rob Landley | f033f86 | 2015-05-31 05:11:28 -0500 | [diff] [blame] | 7 | |
Rob Landley | 6769f8e | 2015-12-24 12:18:10 -0600 | [diff] [blame] | 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 | |
Rob Landley | f033f86 | 2015-05-31 05:11:28 -0500 | [diff] [blame] | 14 | // TODO this goes away when lib/password.c cleaned up |