summaryrefslogtreecommitdiff
path: root/Linux-PAM/modules/pammodutil/pammodutil.h
blob: 2b80c85202f8a16caf2b3619ff43141413a1e849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef PAMMODUTIL_H
#define PAMMODUTIL_H

/*
 * $Id: pammodutil.h,v 1.2 2005/03/30 10:42:54 t8m Exp $
 *
 * Copyright (c) 2001 Andrew Morgan <morgan@kernel.org>
 */

#include <security/_pam_aconf.h>
#include <security/_pam_macros.h>
#include <security/pam_modules.h>
#include <security/_pam_modutil.h>

#define PWD_INITIAL_LENGTH     0x100
#define PWD_ABSURD_PWD_LENGTH  0x8000

/* This is a simple cleanup, it just free()s the 'data' memory */
extern void _pammodutil_cleanup(pam_handle_t *pamh, void *data,
				int error_status);

#endif /* PAMMODUTIL_H */