![]() |
|
|||
File indexing completed on 2025-03-13 09:28:11
0001 /* 0002 * Copyright (c) 2015, Axentia Technologies AB. 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 * 0013 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 0014 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 0015 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 0016 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 0017 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 0018 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 0019 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 0020 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 0021 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 0022 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 0023 * POSSIBILITY OF SUCH DAMAGE. 0024 * 0025 */ 0026 0027 /* 0028 * svc_mt.h, Server-side transport extensions 0029 */ 0030 0031 #ifndef _TIRPC_SVC_MT_H 0032 #define _TIRPC_SVC_MT_H 0033 0034 typedef struct __rpc_svcxprt_ext { 0035 int flags; 0036 SVCAUTH xp_auth; 0037 } SVCXPRT_EXT; 0038 0039 0040 #define SVCEXT(xprt) \ 0041 ((SVCXPRT_EXT *)(xprt)->xp_p3) 0042 0043 #define SVC_XP_AUTH(xprt) \ 0044 (SVCEXT(xprt)->xp_auth) 0045 0046 #define SVC_VERSQUIET 0x0001 /* keep quiet about version mismatch */ 0047 0048 #define svc_flags(xprt) \ 0049 (SVCEXT(xprt)->flags) 0050 0051 #define version_keepquiet(xprt) \ 0052 (svc_flags(xprt) & SVC_VERSQUIET) 0053 0054 #endif /* !_TIRPC_SVC_MT_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
![]() ![]() |