Mercurial > hg > toybox
view lib/pending.h @ 1385:ffc015bddb26 draft 0.4.9
Autodetect --bind and --loop mounts in a way that doesn't interfere with network filesystems or -t newtype mounts that trigger a module load.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 06 Jul 2014 23:43:29 -0500 |
parents | e65f9a9ba62d |
children | 6a06541c090c |
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 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);