Blame modules/pam_console/pam_console.h
|
Packit |
7e982e |
/* Copyright 1999, 2005 Red Hat, Inc.
|
|
Packit |
7e982e |
* This software may be used under the terms of the GNU General Public
|
|
Packit |
7e982e |
* License, available in the file COPYING accompanying this file.
|
|
Packit |
7e982e |
*/
|
|
Packit |
7e982e |
#ifndef _PAM_CONSOLE_H
|
|
Packit |
7e982e |
#define _PAM_CONSOLE_H
|
|
Packit |
7e982e |
#include <security/pam_modules.h>
|
|
Packit |
7e982e |
#include <regex.h>
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
#define LOCKFILE "console.lock"
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
#ifndef FALSE
|
|
Packit |
7e982e |
#define FALSE 0
|
|
Packit |
7e982e |
#endif
|
|
Packit |
7e982e |
#ifndef TRUE
|
|
Packit |
7e982e |
#define TRUE (!FALSE)
|
|
Packit |
7e982e |
#endif
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
void PAM_FORMAT((printf, 4, 5)) PAM_NONNULL((4))
|
|
Packit |
7e982e |
_pam_log(pam_handle_t *pamh, int err, int debug_p, const char *format, ...);
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
void
|
|
Packit |
7e982e |
do_regerror(int errcode, const regex_t *preg);
|
|
Packit |
7e982e |
|
|
Packit |
7e982e |
#endif /* _PAM_CONSOLE_H */
|