Grid Community Toolkit  6.2.1629922860 (tag: v6.2.20210826)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
auth_pam.h
1 /*
2  * Copied in entirety from cyrus-sasl-2.1.20 auth_pam.c, except for:
3  * - this comment
4  * - the "#if defined(HAVE_LIBPAM)" block
5  */
6 
7 #if defined(HAVE_LIBPAM)
8 
9 /* COPYRIGHT
10  * Copyright (c) 2000 Fabian Knittel. All rights reserved.
11  *
12  * Redistribution and use in source and binary forms, with or without
13  * modification, are permitted provided that the following conditions
14  * are met:
15  *
16  * 1. Redistributions of source code must retain any existing copyright
17  * notice, and this entire permission notice in its entirety,
18  * including the disclaimer of warranties.
19  *
20  * 2. Redistributions in binary form must reproduce the above copyright
21  * notice, this list of conditions and the following disclaimer in
22  * the documentation and/or other materials provided with the
23  * distribution.
24  *
25  * 2. Redistributions in binary form must reproduce all prior and current
26  * copyright notices, this list of conditions, and the following
27  * disclaimer in the documentation and/or other materials provided
28  * with the distribution.
29  *
30  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
31  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
32  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
33  * IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
34  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
35  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
36  * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
37  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
38  * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
39  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
40  * DAMAGE.
41  * END COPYRIGHT */
42 
43 char *auth_pam(const char *, const char *, const char *, const char *);
44 
45 #endif /* defined(HAVE_LIBPAM) */