micro-utils/libmu/pw_check.h

10 lines
246 B
C
Raw Normal View History

2024-07-09 19:33:45 +00:00
#ifndef _PW_CHECK_H
#define _PW_CHECK_H
#include <pwd.h>
void dec_salt(void);
char *enc_password(const char *prog_name, const char *pass, const char *salt);
int pw_check(const char *prog_name, const struct passwd *pw, const char *pass);
#endif