164562Sgshapiro/*-
264562Sgshapiro * Copyright (c) 2011 Dag-Erling Sm��rgrav
364562Sgshapiro * All rights reserved.
464562Sgshapiro *
564562Sgshapiro * Redistribution and use in source and binary forms, with or without
664562Sgshapiro * modification, are permitted provided that the following conditions
764562Sgshapiro * are met:
864562Sgshapiro * 1. Redistributions of source code must retain the above copyright
964562Sgshapiro *    notice, this list of conditions and the following disclaimer.
1064562Sgshapiro * 2. Redistributions in binary form must reproduce the above copyright
1164562Sgshapiro *    notice, this list of conditions and the following disclaimer in the
1264562Sgshapiro *    documentation and/or other materials provided with the distribution.
1364562Sgshapiro * 3. The name of the author may not be used to endorse or promote
1464562Sgshapiro *    products derived from this software without specific prior written
1564562Sgshapiro *    permission.
1664562Sgshapiro *
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
2064562Sgshapiro * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2164562Sgshapiro * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2264562Sgshapiro * 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
2564562Sgshapiro * 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
2764562Sgshapiro * SUCH DAMAGE.
2864562Sgshapiro *
2964562Sgshapiro * $Id: openpam_constants.h 659 2013-03-11 14:10:13Z des $
3064562Sgshapiro */
3164562Sgshapiro
3264562Sgshapiro#ifndef OPENPAM_CONSTANTS_H_INCLUDED
3364562Sgshapiro#define OPENPAM_CONSTANTS_H_INCLUDED
3464562Sgshapiro
3564562Sgshapiroextern const char *pam_err_name[PAM_NUM_ERRORS];
3664562Sgshapiroextern const char *pam_item_name[PAM_NUM_ITEMS];
37extern const char *pam_facility_name[PAM_NUM_FACILITIES];
38extern 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