blob: fbcc47c81e04a0d788f2762bf95245cd1e52775e [file] [log] [blame]
Rob Landley34b91a92013-11-10 18:20:16 -06001// pending.h - header for pending.c
2
Rob Landley34b91a92013-11-10 18:20:16 -06003// password.c
4#define MAX_SALT_LEN 20 //3 for id, 16 for key, 1 for '\0'
Rob Landley34b91a92013-11-10 18:20:16 -06005int read_password(char * buff, int buflen, char* mesg);
6int update_password(char *filename, char* username, char* encrypted);
Rob Landleyf033f862015-05-31 05:11:28 -05007
Rob Landley6769f8e2015-12-24 12:18:10 -06008// lib.c
9// These should be switched to posix-2008 getline() and getdelim()
10char *get_rawline(int fd, long *plen, char end);
11char *get_line(int fd);
12
13
Rob Landleyf033f862015-05-31 05:11:28 -050014// TODO this goes away when lib/password.c cleaned up