10f66f451Sopenharmony_ci// pending.h - header for pending.c 20f66f451Sopenharmony_ci 30f66f451Sopenharmony_ci// password.c 40f66f451Sopenharmony_ci#define MAX_SALT_LEN 20 //3 for id, 16 for key, 1 for '\0' 50f66f451Sopenharmony_ciint read_password(char * buff, int buflen, char* mesg); 60f66f451Sopenharmony_ciint update_password(char *filename, char* username, char* encrypted); 70f66f451Sopenharmony_ci 80f66f451Sopenharmony_ci// lib.c 90f66f451Sopenharmony_ci// This should be switched to posix-2008 getline() 100f66f451Sopenharmony_cichar *get_line(int fd); 110f66f451Sopenharmony_ci 120f66f451Sopenharmony_ci 130f66f451Sopenharmony_ci// TODO this goes away when lib/password.c cleaned up 14