fixed. Support building in one binary

This commit is contained in:
Your Name 2024-07-09 22:33:45 +03:00
parent 7d0207ace2
commit 33b89e64da
38 changed files with 285 additions and 163 deletions

9
libmu/pw_check.h Normal file
View file

@ -0,0 +1,9 @@
#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