text: /* pam_tacplus.h
   *
   * Copyright (C) 2016-2017 Hewlett Packard Enterprise Development LP.
   * Copyright (C) 2010, Pawel Krawczyk <pawel.krawczyk@hush.com> and
   * Jeroen Nijhof <jeroen@jeroennijhof.nl>
   *
   * This program is free software; you can redistribute it and/or modify
   * it under the terms of the GNU General Public License as published by
   * the Free Software Foundation; either version 2 of the License, or
   * (at your option) any later version.
   *
   * This program is distributed in the hope that it will be useful,
   * but WITHOUT ANY WARRANTY; without even the implied warranty of
   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   * GNU General Public License for more details.
   *
   * You should have received a copy of the GNU General Public License
   * along with this program - see the file COPYING.
   *
   * See `CHANGES' file for revision history.
   */
  
  #ifndef PAM_TACPLUS_H
  #define PAM_TACPLUS_H
  
  /* define these before including PAM headers */
  #define PAM_SM_AUTH
  #define PAM_SM_ACCOUNT
  #define PAM_SM_SESSION
  #define PAM_SM_PASSWORD
  
  #include <security/pam_appl.h>
  #include <security/pam_modules.h>
  
  /* pam_tacplus command line options */
  #define PAM_TAC_DEBUG 0x01
  #define PAM_TAC_ACCT  0x02 /* account on all specified servers */
  #define PAM_TAC_USE_FIRST_PASS 0x04
  #define PAM_TAC_TRY_FIRST_PASS 0x08
  #define PAM_TAC_BYPASS_ACCT    0x10  /* bypass accounting */
  #define PAM_TAC_BYPASS_SESSION 0x20  /* bypass session */
  
  /* pam_tacplus major, minor and patchlevel version numbers */
  #define PAM_TAC_VMAJ 1
  #define PAM_TAC_VMIN 3
  #define PAM_TAC_VPAT 8
  
  #ifndef PAM_EXTERN
  #define PAM_EXTERN extern
  #endif
  
  #endif  /* PAM_TACPLUS_H */
  