mfiutil(8): Use MAN instead of MAN8.
[dragonfly.git] / contrib / pam_passwdqc / passwdqc.h
blob75f1dffcd4c710b1e7d64110b19771788b53a054
1 /*
2 * Copyright (c) 2000-2002 by Solar Designer. See LICENSE.
3 */
5 #ifndef _PASSWDQC_H
6 #define _PASSWDQC_H
8 #include <pwd.h>
10 typedef struct {
11 int min[5], max;
12 int passphrase_words;
13 int match_length;
14 int similar_deny;
15 int random_bits;
16 } passwdqc_params_t;
18 extern char _passwdqc_wordset_4k[0x1000][6];
20 extern const char *_passwdqc_check(passwdqc_params_t *params,
21 const char *newpass, const char *oldpass, struct passwd *pw);
22 extern char *_passwdqc_random(passwdqc_params_t *params);
24 #endif