view lib/pending.h @ 1439:ed28d4d9558d draft

Cleanups on useradd/groupadd/groupdel, and put TOYBOX_UID_SYS and TOYBOX_UID_USR in the top level Config.
author Rob Landley <rob@landley.net>
date Mon, 18 Aug 2014 19:10:45 -0500
parents 6a06541c090c
children cf77c4939385
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'
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);