openpam_constants.h revision 256281
1168515Sgshapiro/*-
264562Sgshapiro * Copyright (c) 2011 Dag-Erling Sm��rgrav
338032Speter * All rights reserved.
490792Sgshapiro *
5168515Sgshapiro * Redistribution and use in source and binary forms, with or without
666494Sgshapiro * modification, are permitted provided that the following conditions
766494Sgshapiro * are met:
864562Sgshapiro * 1. Redistributions of source code must retain the above copyright
966494Sgshapiro *    notice, this list of conditions and the following disclaimer.
1038032Speter * 2. Redistributions in binary form must reproduce the above copyright
1164562Sgshapiro *    notice, this list of conditions and the following disclaimer in the
1290792Sgshapiro *    documentation and/or other materials provided with the distribution.
1364562Sgshapiro * 3. The name of the author may not be used to endorse or promote
1490792Sgshapiro *    products derived from this software without specific prior written
1564562Sgshapiro *    permission.
1638032Speter *
1764562Sgshapiro * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1864562Sgshapiro * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1964562Sgshapiro * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2038032Speter * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2164562Sgshapiro * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2238032Speter * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2364562Sgshapiro * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2464562Sgshapiro * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2538032Speter * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2664562Sgshapiro * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2738032Speter * SUCH DAMAGE.
2838032Speter *
2964562Sgshapiro * $Id: openpam_constants.h 659 2013-03-11 14:10:13Z des $
3038032Speter */
3164562Sgshapiro
3238032Speter#ifndef OPENPAM_CONSTANTS_H_INCLUDED
3338032Speter#define OPENPAM_CONSTANTS_H_INCLUDED
3464562Sgshapiro
3564562Sgshapiroextern const char *pam_err_name[PAM_NUM_ERRORS];
3638032Speterextern const char *pam_item_name[PAM_NUM_ITEMS];
3764562Sgshapiroextern const char *pam_facility_name[PAM_NUM_FACILITIES];
3838032Speterextern const char *pam_control_flag_name[PAM_NUM_CONTROL_FLAGS];
39extern const char *pam_func_name[PAM_NUM_PRIMITIVES];
40extern const char *pam_sm_func_name[PAM_NUM_PRIMITIVES];
41
42extern const char *openpam_policy_path[];
43extern const char *openpam_module_path[];
44
45#endif
46