OpenVAS Libraries
8.0.3
Main Page
Related Pages
Data Structures
Files
File List
Globals
base
pwpolicy.h
Go to the documentation of this file.
1
/* openvas-libraries/base
2
* $Id$
3
* Description: Definitions for password policy checking
4
*
5
* Authors:
6
* Werner Koch <wk@gnupg.org>
7
*
8
* Copyright:
9
* Copyright (C) 2013 Greenbone Networks GmbH
10
*
11
* This program is free software; you can redistribute it and/or
12
* modify it under the terms of the GNU General Public License
13
* as published by the Free Software Foundation; either version 2
14
* of the License, or (at your option) any later version.
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
20
*
21
* You should have received a copy of the GNU General Public License
22
* along with this program; if not, write to the Free Software
23
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
24
*/
25
33
#ifndef _OPENVAS_LIBRARIES_PWPOLICY_H
34
#define _OPENVAS_LIBRARIES_PWPOLICY_H
35
36
char
*
openvas_validate_password
(
const
char
*,
const
char
*);
37
void
openvas_disable_password_policy
(
void
);
38
39
40
#endif
/*_OPENVAS_LIBRARIES_PWPOLICY_H*/
openvas_validate_password
char * openvas_validate_password(const char *, const char *)
Validate a password against the pattern file.
Definition:
pwpolicy.c:366
openvas_disable_password_policy
void openvas_disable_password_policy(void)
Disable all password policy checking.
Definition:
pwpolicy.c:421
Generated by
1.8.9.1