summaryrefslogtreecommitdiffstats
path: root/libpam/pam_modutil_private.h
blob: 98a30f6886012bb9db3e0c9bbeb1d4ff8179e346 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef PAMMODUTIL_PRIVATE_H
#define PAMMODUTIL_PRIVATE_H

/*
 * $Id$
 *
 * Copyright (c) 2001 Andrew Morgan <morgan@kernel.org>
 */

#include "config.h"

#include <security/_pam_macros.h>
#include <security/pam_modules.h>
#include <security/pam_modutil.h>

#define PWD_INITIAL_LENGTH     0x400
#define PWD_ABSURD_PWD_LENGTH  0x40001
#define PWD_LENGTH_SHIFT 4 /* 2^4 == 16 */

extern void
pam_modutil_cleanup(pam_handle_t *pamh, void *data,
                    int error_status);

#endif /* PAMMODUTIL_PRIVATE_H */