10 lines
246 B
C
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
|