Where Online Learning is simpler!
The C and C++ Include Header Files
/usr/include/ntirpc/rpc/tirpc_compat.h
$ cat -n /usr/include/ntirpc/rpc/tirpc_compat.h 1 /* 2 * Copyright (c) 2012 Linux Box Corporation. 3 * Copyright (c) 2012-2017 Red Hat, Inc. and/or its affiliates. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: 9 * 1. Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 11 * 2. Redistributions in binary form must reproduce the above copyright 12 * notice, this list of conditions and the following disclaimer in the 13 * documentation and/or other materials provided with the distribution. 14 * 15 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR `AS IS'' AND ANY EXPRESS OR 16 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 */ 26 27 #ifndef TIRPC_COMPAT_H 28 #define TIRPC_COMPAT_H 29 30 /* svc.h */ 31 #define svc_create(a, b, c, d) svc_ncreate(a, b, c, d) 32 #define svc_tp_create(a, b, c, d) svc_tp_ncreate(a, b, c, d) 33 #define svc_tli_create(a, b, c, d, e) svc_tli_ncreate(a, b, c, d, e) 34 #define svc_vc_create(a, b, c) svc_vc_ncreate(a, b, c) 35 #define svc_dg_create(a, b, c) svc_dg_ncreate(a, b, c) 36 #define svc_fd_create(a, b, c) svc_fd_ncreate(a, b, c) 37 #define svc_raw_create() svc_raw_ncreate() 38 #define svc_rdma_create(a, b, c) svc_rdma_ncreate(a, b, c) 39 40 /* rpc_msg */ 41 #define xdr_callmsg xdr_ncallmsg 42 #define xdr_callhdr xdr_ncallhdr 43 #define xdr_replymsg xdr_nreplymsg 44 #define xdr_accepted_reply xdr_naccepted_reply 45 #define xdr_rejected_reply xdr_nrejected_reply 46 47 /* xdr */ 48 #define xdr_netobj xdr_nnetobj 49 #define xdrmem_create(a, b, c, d) xdrmem_ncreate(a, b, c, d) 50 #define xdr_free xdr_nfree 51 52 #endif /* !TIRPC_COMPAT_H */
Contact us
|
About us
|
Term of use
|
Copyright © 2000-2025 MyWebUniversity.com ™