summaryrefslogtreecommitdiff
path: root/src/cracklib.hpp
blob: 0a7f4001599af94f5e128f89cbaa20734c17aa17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef CRACKLIB_HPP
#define CRACKLIB_HPP

#include <string>

typedef struct PasswordCheck {
	bool ok;
	std::string msg;
} PasswordCheck;

PasswordCheck checkPassword( const std::string login, const std::string name, const std::string password );
				    
#endif