summaryrefslogtreecommitdiff
path: root/Linux-PAM/modules/pammodutil/pammodutil.h
blob: 78d7e51746f2557e277e4385af7336d65812f7e1 (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.1.1.1 2002/09/15 20:09:04 hartmans 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  0x1000

/* 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 */