micro-utils/libmu/pw_check.h
2024-07-09 22:33:45 +03:00

10 lines
246 B
C

#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