APG v2.2.0

This commit is contained in:
Adel I. Mirzazhanov
2003-07-28 16:26:03 +07:00
committed by skinc
parent 900ff5ea18
commit df3f864b46
33 changed files with 1655 additions and 386 deletions

View File

@@ -1,5 +1,5 @@
/*
** Copyright (c) 1999, 2000, 2001, 2002
** Copyright (c) 1999, 2000, 2001, 2002, 2003
** Adel I. Mirzazhanov. All rights reserved
**
** Redistribution and use in source and binary forms, with or without
@@ -30,15 +30,16 @@
/*
** restrict.h
*/
#ifndef RESTRICT_H
#define RESTRICT_H 1
#ifndef APG_RESTRICT_H
#define APG_RESTRICT_H 1
#include "bloom.h"
#include "randpass.h"
#define MAX_DICT_STRING_SIZE 255
int check_pass(char * pass, char *dict);
int bloom_check_pass (char *word, char *filter);
int paranoid_bloom_check_pass (char * password, char *filter, USHORT s_len);
int filter_check_pass(const char * word, unsigned int cond);
int set_exclude_list(const char * char_string);
#endif /* RESTRICT_H */
#endif /* APG_RESTRICT_H */