logo

checkpassword-ng

Uniform password checking interface for applications

chkpw.h (239B)


  1. #define CHKPW_VALID NULL
  2. #define CHKPW_INVALID "Invalid password"
  3. #define CHKPW_EMPTY "Empty password entry"
  4. extern struct chkpw_extra chkpw_extra;
  5. char *chkpw(const char *username, const char *password, struct chkpw_extra *chkpw_extra);