Mercurial > hg > toybox
view lib/pending.h @ 1324:3191aa9490aa draft
strings - print the strings in the file.
author | Ashwini Sharma <ak.ashwini1981@gmail.com> |
---|---|
date | Thu, 29 May 2014 08:18:50 -0500 |
parents | d48bdc1cb017 |
children | e65f9a9ba62d |
line wrap: on
line source
// 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 int get_salt(char *salt, char * algo); 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); // cut helper functions void daemonize(void);