openpam_constants.h revision 236099
1228690Sdes/*-
2228690Sdes * Copyright (c) 2011 Dag-Erling Sm��rgrav
3228690Sdes * All rights reserved.
4228690Sdes *
5228690Sdes * Redistribution and use in source and binary forms, with or without
6228690Sdes * modification, are permitted provided that the following conditions
7228690Sdes * are met:
8228690Sdes * 1. Redistributions of source code must retain the above copyright
9228690Sdes *    notice, this list of conditions and the following disclaimer
10228690Sdes *    in this position and unchanged.
11228690Sdes * 2. Redistributions in binary form must reproduce the above copyright
12228690Sdes *    notice, this list of conditions and the following disclaimer in the
13228690Sdes *    documentation and/or other materials provided with the distribution.
14236099Sdes * 3. The name of the author may not be used to endorse or promote
15236099Sdes *    products derived from this software without specific prior written
16236099Sdes *    permission.
17228690Sdes *
18228690Sdes * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
19228690Sdes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20228690Sdes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21228690Sdes * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
22228690Sdes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23228690Sdes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24228690Sdes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25228690Sdes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26228690Sdes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27228690Sdes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28228690Sdes * SUCH DAMAGE.
29228690Sdes *
30236099Sdes * $Id: openpam_constants.h 606 2012-04-20 11:06:38Z des $
31228690Sdes */
32228690Sdes
33236099Sdes#ifndef OPENPAM_CONSTANTS_H_INCLUDED
34236099Sdes#define OPENPAM_CONSTANTS_H_INCLUDED
35228690Sdes
36228690Sdesextern const char *pam_err_name[PAM_NUM_ERRORS];
37228690Sdesextern const char *pam_item_name[PAM_NUM_ITEMS];
38228690Sdesextern const char *pam_facility_name[PAM_NUM_FACILITIES];
39228690Sdesextern const char *pam_control_flag_name[PAM_NUM_CONTROL_FLAGS];
40228690Sdesextern const char *pam_func_name[PAM_NUM_PRIMITIVES];
41228690Sdesextern const char *pam_sm_func_name[PAM_NUM_PRIMITIVES];
42228690Sdes
43228690Sdes#endif
44