summaryrefslogtreecommitdiff
path: root/modules/pammodutil/pammodutil.h
blob: fbe81023bc11b3c33207e85e913b535d6e95c5ee (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$
 *
 * 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 */