Remove extra whitespace at the end of some lines.
[dragonfly.git] / contrib / libpam / modules / pam_userdb / pam_userdb.h
CommitLineData
984263bc
MD
1
2#ifndef _PAM_USERSDB_H
3#define _PAM_USERSDB_H
4/* $Id: pam_userdb.h,v 1.1.1.1 2000/06/20 22:12:09 agmorgan Exp $ */
5/* $FreeBSD: src/contrib/libpam/modules/pam_userdb/pam_userdb.h,v 1.1.1.1.2.2 2001/06/11 15:28:34 markm Exp $ */
1de703da 6/* $DragonFly: src/contrib/libpam/modules/pam_userdb/Attic/pam_userdb.h,v 1.2 2003/06/17 04:24:03 dillon Exp $ */
984263bc
MD
7
8/* Header files */
9#include <security/pam_appl.h>
10
11/* argument parsing */
12#define PAM_DEBUG_ARG 0x0001
13#define PAM_ICASE_ARG 0x0002
14#define PAM_DUMP_ARG 0x0004
15
16/* Useful macros */
17#define x_strdup(s) ( (s) ? strdup(s):NULL )
18
19/* The name of the module we are compiling */
20#ifndef MODULE_NAME
21#define MODULE_NAME "pam_userdb"
22#endif /* MODULE_NAME */
23
24/* function prototypes */
25int conversation(pam_handle_t *);
26
27#endif /* _PAM_USERSDB_H */
28
29/*
30 * Copyright (c) Cristian Gafton <gafton@redhat.com>, 1999
31 * All rights reserved
32 *
33 * Redistribution and use in source and binary forms, with or without
34 * modification, are permitted provided that the following conditions
35 * are met:
36 * 1. Redistributions of source code must retain the above copyright
37 * notice, and the entire permission notice in its entirety,
38 * including the disclaimer of warranties.
39 * 2. Redistributions in binary form must reproduce the above copyright
40 * notice, this list of conditions and the following disclaimer in the
41 * documentation and/or other materials provided with the distribution.
42 * 3. The name of the author may not be used to endorse or promote
43 * products derived from this software without specific prior
44 * written permission.
45 *
46 * ALTERNATIVELY, this product may be distributed under the terms of
47 * the GNU Public License, in which case the provisions of the GPL are
48 * required INSTEAD OF the above restrictions. (This clause is
49 * necessary due to a potential bad interaction between the GPL and
50 * the restrictions contained in a BSD-style copyright.)
51 *
52 * THIS SOFTWARE IS PROVIDED `AS IS'' AND ANY EXPRESS OR IMPLIED
53 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
54 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
55 * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
56 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
57 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
58 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
59 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
60 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
61 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
62 * OF THE POSSIBILITY OF SUCH DAMAGE.
63 */