2013-11-10 16:20:16 -08:00
|
|
|
// pending.h - header for pending.c
|
|
|
|
|
|
|
|
// password.c
|
|
|
|
#define MAX_SALT_LEN 20 //3 for id, 16 for key, 1 for '\0'
|
|
|
|
int read_password(char * buff, int buflen, char* mesg);
|
|
|
|
int update_password(char *filename, char* username, char* encrypted);
|
2015-05-31 03:11:28 -07:00
|
|
|
|
2015-12-24 10:18:10 -08:00
|
|
|
// lib.c
|
2019-08-10 09:44:58 -07:00
|
|
|
// This should be switched to posix-2008 getline()
|
2015-12-24 10:18:10 -08:00
|
|
|
char *get_line(int fd);
|
|
|
|
|
|
|
|
|
2015-05-31 03:11:28 -07:00
|
|
|
// TODO this goes away when lib/password.c cleaned up
|