1228690Sdes/*-
2348980Sdes * Copyright (c) 2011-2017 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
9255376Sdes *    notice, this list of conditions and the following disclaimer.
10228690Sdes * 2. Redistributions in binary form must reproduce the above copyright
11228690Sdes *    notice, this list of conditions and the following disclaimer in the
12228690Sdes *    documentation and/or other materials provided with the distribution.
13236099Sdes * 3. The name of the author may not be used to endorse or promote
14236099Sdes *    products derived from this software without specific prior written
15236099Sdes *    permission.
16228690Sdes *
17228690Sdes * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18228690Sdes * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19228690Sdes * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20228690Sdes * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21228690Sdes * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22228690Sdes * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23228690Sdes * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24228690Sdes * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25228690Sdes * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26228690Sdes * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27228690Sdes * SUCH DAMAGE.
28228690Sdes *
29348980Sdes * $OpenPAM: openpam_constants.h 938 2017-04-30 21:34:42Z des $
30228690Sdes */
31228690Sdes
32236099Sdes#ifndef OPENPAM_CONSTANTS_H_INCLUDED
33236099Sdes#define OPENPAM_CONSTANTS_H_INCLUDED
34228690Sdes
35228690Sdesextern const char *pam_err_name[PAM_NUM_ERRORS];
36348980Sdesextern const char *pam_err_text[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
43255376Sdesextern const char *openpam_policy_path[];
44255376Sdesextern const char *openpam_module_path[];
45255376Sdes
46228690Sdes#endif
47