15 lines
443 B
C
15 lines
443 B
C
// 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);
|
|
|
|
// 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
|