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' | ||||
5 | #define SYS_FIRST_ID 100 | ||||
6 | #define SYS_LAST_ID 999 | ||||
Rob Landley | 34b91a9 | 2013-11-10 18:20:16 -0600 | [diff] [blame] | 7 | void is_valid_username(const char *name); |
8 | int read_password(char * buff, int buflen, char* mesg); | ||||
9 | int update_password(char *filename, char* username, char* encrypted); |