aboutsummaryrefslogtreecommitdiff
path: root/lib/pending.h
blob: ec80c91f3720cdea98454f148a035c17bd05055a (plain)
1
2
3
4
5
6
7
8
9
// pending.h - header for pending.c

// password.c
#define MAX_SALT_LEN  20 //3 for id, 16 for key, 1 for '\0'
#define SYS_FIRST_ID  100
#define SYS_LAST_ID   999
void is_valid_username(const char *name);
int read_password(char * buff, int buflen, char* mesg);
int update_password(char *filename, char* username, char* encrypted);