aboutsummaryrefslogtreecommitdiff
path: root/lib/pending.h
blob: fbcc47c81e04a0d788f2762bf95245cd1e52775e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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