You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
378 B
14 lines
378 B
4 months ago
|
// 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
|
||
|
// This should be switched to posix-2008 getline()
|
||
|
char *get_line(int fd);
|
||
|
|
||
|
|
||
|
// TODO this goes away when lib/password.c cleaned up
|