4 #include <security/pam_appl.h>
5 extern pam_handle_t *pamh;
8 extern struct passwd userinfo;
9 extern char userinfo_set;
11 int bftpd_setuid(uid_t uid);
13 void bftpd_logwtmp(char type);
15 char *mygetpwuid(int uid, FILE *file, char *name);
18 int mygetpwnam(char *name, FILE *file);
20 int bftpd_login(char *password);
22 int checkpass(char *password);
23 int checkpass_pwd(char *password);
24 int checkpass_pam(char *password);