Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:13:02

0001 /*
0002  * Copyright (c) 2015, Oracle America, Inc.
0003  * All rights reserved.
0004  *
0005  * Redistribution and use in source and binary forms, with or without
0006  * modification, are permitted provided that the following conditions are met:
0007  * - Redistributions of source code must retain the above copyright notice,
0008  *   this list of conditions and the following disclaimer.
0009  * - Redistributions in binary form must reproduce the above copyright notice,
0010  *   this list of conditions and the following disclaimer in the documentation
0011  *   and/or other materials provided with the distribution.
0012  * - Neither the name of "Oracle America, Inc." nor the names of its
0013  *   contributors may be used to endorse or promote products derived
0014  *   from this software without specific prior written permission.
0015  *
0016  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
0017  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
0018  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
0019  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
0020  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
0021  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
0022  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
0023  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
0024  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
0025  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
0026  * POSSIBILITY OF SUCH DAMAGE.
0027  */
0028 
0029 #ifndef _TIRPC_SVC_AUTH_GSS_H
0030 #define _TIRPC_SVC_AUTH_GSS_H
0031 
0032 #include <rpc/svc_auth.h>
0033 #include <gssapi/gssapi.h>
0034 
0035 /*
0036  * Legacy U-M server GSS APIs
0037  */
0038 
0039 #ifdef __cplusplus
0040 extern "C" {
0041 #endif
0042 
0043 extern bool_t svcauth_gss_set_svc_name(gss_name_t name);
0044 extern char *svcauth_gss_get_principal(SVCAUTH *);
0045 
0046 #ifdef __cplusplus
0047 }
0048 #endif
0049 
0050 #endif  /* !_TIRPC_SVC_AUTH_GSS_H */