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