rpc: Use libtirpc instead of Sun RPC from glib
RFC PATCH 1/1 rpc: Use libtirpc instead of Sun RPC from glib
Sun RPC was removed from glibc 2.27, we need to use libtirpc and headers from it.
---
Hi,
openSUSE recently moved /usr/include/tirpc to /usr/include as part of upgrade to glibc 2.27 [1]. Fedora is planning something similar [2]. Not sure if this is the best approach, but fixes the situation.
Kind regards,
Petr
[1] https://build.opensuse.org/package/view_file/Base:System/libtirpc/libtirpc.changes?expand=1
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1537432
--- include/lapi/rpc.h | 39 ++++++++++++++++++++++ m4/ltp-tirpc.m4 | 2 +- testcases/network/Makefile | 4 +++ testcases/network/rpc/Makefile | 5 +-- testcases/network/rpc/basic_tests/rpc01/Makefile | 1 + .../network/rpc/basic_tests/rpc01/lib/Makefile | 1 + .../network/rpc/basic_tests/rpc01/lib/librpc01.c | 2 +- .../network/rpc/basic_tests/rpc01/lib/librpc01.h | 2 +- .../rpc_stdcall_clnt_call/rpc_clnt_call_complex.c | 4 +-- .../tirpc_rpcb_getaddr.c | 4 +-- .../tirpc_rpcb_getaddr_limits.c | 2 +- .../tirpc_rpcb_getmaps.c | 4 +-- .../tirpc_authdes_create.c | 2 +- .../tirpc_authdes_seccreate.c | 2 +- .../tirpc_authnone_create.c | 2 +- .../tirpc_authsys_create.c | 2 +- .../tirpc_authsys_create_default.c | 2 +- .../tirpc_bottomlevel_clnt_call.c | 4 +-- .../tirpc_bottomlevel_clnt_call_complex.c | 6 +--- .../tirpc_bottomlevel_clnt_call_dataint.c | 2 +- .../tirpc_bottomlevel_clnt_call_mt.c | 6 +--- .../tirpc_bottomlevel_clnt_call_performance.c | 2 +- .../tirpc_bottomlevel_clnt_call_scalability.c | 6 +--- .../tirpc_bottomlevel_clnt_call_stress.c | 4 +-- .../tirpc_clnt_dg_create.c | 4 +-- .../tirpc_clnt_dg_create_limits.c | 2 +- .../tirpc_clnt_vc_create.c | 4 +-- .../tirpc_clnt_vc_create_limits.c | 2 +- .../tirpc_svc_dg_create.c | 4 +-- .../tirpc_svc_dg_create_limits.c | 2 +- .../tirpc_svc_vc_create.c | 4 +-- .../tirpc_svc_vc_create_limits.c | 2 +- .../tirpc_clnt_pcreateerror.c | 4 +-- .../tirpc_err_clnt_perrno/tirpc_clnt_perrno.c | 6 +--- .../tirpc_clnt_perrno_complex.c | 6 +--- .../tirpc_err_clnt_perror/tirpc_clnt_perror.c | 6 +--- .../tirpc_clnt_perror_complex.c | 6 +--- .../tirpc_err_svcerr_noproc/tirpc_svcerr_noproc.c | 4 +-- .../tirpc_err_svcerr_noprog/tirpc_svcerr_noprog.c | 4 +-- .../tirpc_svcerr_progvers.c | 4 +-- .../tirpc_svcerr_systemerr.c | 4 +-- .../tirpc_svcerr_weakauth.c | 4 +-- .../tirpc_expertlevel_clnt_call.c | 4 +-- .../tirpc_expertlevel_clnt_call_complex.c | 6 +--- .../tirpc_expertlevel_clnt_call_dataint.c | 2 +- .../tirpc_expertlevel_clnt_call_mt.c | 6 +--- .../tirpc_expertlevel_clnt_call_performance.c | 2 +- .../tirpc_expertlevel_clnt_call_scalability.c | 6 +--- .../tirpc_expertlevel_clnt_call_stress.c | 4 +-- .../tirpc_clnt_tli_create.c | 4 +-- .../tirpc_clnt_tli_create_limits.c | 2 +- .../tirpc_rpcb_rmtcall.c | 4 +-- .../tirpc_rpcb_rmtcall_complex.c | 6 +--- .../tirpc_rpcb_rmtcall_dataint.c | 2 +- .../tirpc_rpcb_rmtcall_mt.c | 6 +--- .../tirpc_rpcb_rmtcall_performance.c | 2 +- .../tirpc_rpcb_rmtcall_scalability.c | 6 +--- .../tirpc_rpcb_rmtcall_stress.c | 4 +-- .../tirpc_expertlevel_rpcb_set/tirpc_rpcb_set.c | 4 +-- .../tirpc_rpcb_unset.c | 4 +-- .../tirpc_expertlevel_svc_reg/tirpc_svc_reg.c | 4 +-- .../tirpc_expertlevel_svc_reg/tirpc_svc_reg_mt.c | 6 +--- .../tirpc_svc_reg_stress.c | 4 +-- .../tirpc_svc_tli_create.c | 4 +-- .../tirpc_svc_tli_create_limits.c | 2 +- .../tirpc_expertlevel_svc_unreg/tirpc_svc_unreg.c | 4 +-- .../tirpc_svc_unreg_mt.c | 6 +--- .../tirpc_svc_unreg_stress.c | 4 +-- .../tirpc_interlevel_clnt_call.c | 6 +--- .../tirpc_interlevel_clnt_call_complex.c | 6 +--- .../tirpc_interlevel_clnt_call_dataint.c | 2 +- .../tirpc_interlevel_clnt_call_mt.c | 6 +--- .../tirpc_interlevel_clnt_call_performance.c | 2 +- .../tirpc_interlevel_clnt_call_scalability.c | 6 +--- .../tirpc_interlevel_clnt_call_stress.c | 6 +--- .../tirpc_clnt_control.c | 7 +--- .../tirpc_clnt_control_limits.c | 2 +- .../tirpc_clnt_tp_create.c | 7 +--- .../tirpc_clnt_tp_create_timed.c | 6 +--- .../tirpc_clnt_tp_create_timed_limits.c | 2 +- .../tirpc_svc_tp_create.c | 6 +--- .../tirpc_rpc_broadcast.c | 6 +--- .../tirpc_rpc_broadcast_complex.c | 2 +- .../tirpc_rpc_broadcast_dataint.c | 2 +- .../tirpc_rpc_broadcast_mt.c | 6 +--- .../tirpc_rpc_broadcast_performance.c | 2 +- .../tirpc_rpc_broadcast_scalability.c | 6 +--- .../tirpc_rpc_broadcast_stress.c | 6 +--- .../tirpc_rpc_broadcast_exp.c | 6 +--- .../tirpc_rpc_broadcast_exp_complex.c | 2 +- .../tirpc_rpc_broadcast_exp_dataint.c | 2 +- .../tirpc_rpc_broadcast_exp_limits.c | 2 +- .../tirpc_rpc_broadcast_exp_mt.c | 6 +--- .../tirpc_rpc_broadcast_exp_performance.c | 2 +- .../tirpc_rpc_broadcast_exp_scalability.c | 6 +--- .../tirpc_rpc_broadcast_exp_stress.c | 6 +--- .../tirpc/tirpc_simple_rpc_call/tirpc_rpc_call.c | 6 +--- .../tirpc_simple_rpc_call/tirpc_rpc_call_complex.c | 6 +--- .../tirpc_simple_rpc_call/tirpc_rpc_call_dataint.c | 2 +- .../tirpc_simple_rpc_call/tirpc_rpc_call_mt.c | 6 +--- .../tirpc_rpc_call_performance.c | 2 +- .../tirpc_rpc_call_scalability.c | 6 +--- .../tirpc_simple_rpc_call/tirpc_rpc_call_stress.c | 6 +--- .../tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg.c | 6 +--- .../tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg_mt.c | 6 +--- .../tirpc_simple_rpc_reg/tirpc_rpc_reg_stress.c | 6 +--- .../tirpc_toplevel_clnt_call.c | 6 +--- .../tirpc_toplevel_clnt_call_complex.c | 6 +--- .../tirpc_toplevel_clnt_call_dataint.c | 2 +- .../tirpc_toplevel_clnt_call_mt.c | 6 +--- .../tirpc_toplevel_clnt_call_performance.c | 2 +- .../tirpc_toplevel_clnt_call_scalability.c | 6 +--- .../tirpc_toplevel_clnt_call_stress.c | 6 +--- .../tirpc_toplevel_clnt_create/tirpc_clnt_create.c | 6 +--- .../tirpc_clnt_create_timed.c | 6 +--- .../tirpc_clnt_create_timed_limits.c | 2 +- .../tirpc_clnt_destroy.c | 6 +--- .../tirpc_toplevel_svc_create/tirpc_svc_create.c | 6 +--- .../tirpc_toplevel_svc_destroy/tirpc_svc_destroy.c | 6 +--- .../rpc/rpc-tirpc/tests_pack/tirpc_cleaner.c | 6 +--- .../rpc-tirpc/tests_pack/tirpc_svc_1/tirpc_svc_1.c | 6 +--- .../tests_pack/tirpc_svc_11/tirpc_svc_11.c | 6 +--- .../rpc-tirpc/tests_pack/tirpc_svc_2/tirpc_svc_2.c | 6 +--- .../rpc-tirpc/tests_pack/tirpc_svc_3/tirpc_svc_3.c | 6 +--- .../rpc-tirpc/tests_pack/tirpc_svc_4/tirpc_svc_4.c | 6 +--- .../rpc-tirpc/tests_pack/tirpc_svc_5/tirpc_svc_5.c | 6 +--- .../rpc-tirpc/tests_pack/tirpc_svc_6/tirpc_svc_6.c | 6 +--- .../rpc-tirpc/tests_pack/tirpc_svc_7/tirpc_svc_7.c | 6 +--- .../rpc-tirpc/tests_pack/tirpc_svc_8/tirpc_svc_8.c | 6 +--- .../rpc-tirpc/tests_pack/tirpc_svc_9/tirpc_svc_9.c | 6 +--- 130 files changed, 171 insertions(+), 429 deletions(-) create mode 100644 include/lapi/rpc.h
include/lapi/rpc.h new file +39 -0
@@ -0,0 +1,39 @@ +/* +* Copyright (c) 2018 Petr Vorel <[email protected]> +* +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 2 of the License, or +* (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef LAPI_RPC_H__ +#define LAPI_RPC_H__ + +#include "config.h" + +#ifdef HAVE_NETCONFIG_H +# include <netconfig.h> +# include <rpc/rpc.h> +# include <rpc/types.h> +# include <rpc/xdr.h> +# include <rpc/svc.h> +#elif defined(HAVE_TIRPC_NETCONFIG_H ) +# include <tirpc/netconfig.h> +# include <tirpc/rpc/rpc.h> +# include <tirpc/rpc/types.h> +# include <tirpc/rpc/xdr.h> +# include <tirpc/rpc/svc.h> +#else +# error Missing rpc headers! +#endif + +#endif /* LAPI_RPC_H__ */
m4/ltp-tirpc.m4 +1 -1
@@ -24,7 +24,7 @@ AC_DEFUN([LTP_CHECK_TIRPC],[ TIRPC_CPPFLAGS="" TIRPC_LIBS="" - AC_CHECK_HEADER(tirpc/netconfig.h,[ + AC_CHECK_HEADERS([tirpc/netconfig.h netconfig.h], [ TIRPC_CPPFLAGS="-I${SYSROOT}/usr/include/tirpc" AC_DEFINE(HAVE_LIBTIRPC, 1, [Define to 1 if you have libtirpc headers installed]) AC_CHECK_LIB(tirpc, rpcb_set, [TIRPC_LIBS="-ltirpc"])])
testcases/network/Makefile +4 -0
@@ -39,6 +39,10 @@ ifeq ($(ANDROID),1) FILTER_OUT_DIRS += lib6 rpc sockets endif +ifeq ($(TIRPC_LIBS),) +FILTER_OUT_DIRS += rpc +endif + $(INSTALL_TARGETS): | generate .PHONY: generate
testcases/network/rpc/Makefile +1 -4
@@ -25,9 +25,6 @@ top_srcdir ?= ../../.. include $(top_srcdir)/include/mk/env_pre.mk INSTALL_TARGETS := *.sh - -ifeq ($(TIRPC_LIBS),) -FILTER_OUT_DIRS += rpc-tirpc -endif +LDLIBS += $(TIRPC_LIBS) include $(top_srcdir)/include/mk/generic_trunk_target.mk
testcases/network/rpc/basic_tests/rpc01/Makefile +1 -0
@@ -49,3 +49,4 @@ MAKE_TARGETS := rpc1 rpc_server MAKE_DEPS := $(LIB) include $(top_srcdir)/include/mk/generic_trunk_target.mk +include $(top_srcdir)/testcases/network/rpc/rpc-tirpc/tests_pack/Makefile.inc
testcases/network/rpc/basic_tests/rpc01/lib/Makefile +1 -0
@@ -22,4 +22,5 @@ include $(top_srcdir)/include/mk/env_pre.mk INTERNAL_LIB := librpc01.a +include $(top_srcdir)/testcases/network/rpc/rpc-tirpc/tests_pack/Makefile.inc include $(top_srcdir)/include/mk/lib.mk
testcases/network/rpc/basic_tests/rpc01/lib/librpc01.c +1 -1
@@ -16,7 +16,7 @@* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include <rpc/xdr.h> +#include "lapi/rpc.h" #include "librpc01.h" bool_t xdr_receive_data (XDR *xdrs,struct data **buffer)
testcases/network/rpc/basic_tests/rpc01/lib/librpc01.h +1 -1
@@ -19,7 +19,7 @@ #ifndef __LIBRPC_H__ #define __LIBRPC_H__ -#include <rpc/xdr.h> +#include "lapi/rpc.h" struct data { long address;
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_clnt_call/rpc_clnt_call_complex.c +1 -3
@@ -28,9 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <rpc/rpc.h> -#include <rpc/types.h> -#include <rpc/xdr.h> +#include "lapi/rpc.h" //Standard define #define CALCPROC 10000
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/tirpc_rpcb_getaddr.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getaddr/tirpc_rpcb_getaddr_limits.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_addrmanagmt_rpcb_getmaps/tirpc_rpcb_getmaps.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authdes_create/tirpc_authdes_create.c +1 -1
@@ -28,8 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> #include <netdb.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authdes_seccreate/tirpc_authdes_seccreate.c +1 -1
@@ -28,8 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> #include <netdb.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authnone_create/tirpc_authnone_create.c +1 -1
@@ -28,8 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> #include <netdb.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create/tirpc_authsys_create.c +1 -1
@@ -29,8 +29,8 @@#include <stdlib.h> #include <time.h> #include <unistd.h> -#include <tirpc/rpc/rpc.h> #include <netdb.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_auth_authsys_create_default/tirpc_authsys_create_default.c +1 -1
@@ -28,8 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> #include <netdb.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call.c +1 -3
@@ -27,13 +27,11 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> #include <unistd.h> #include "librpc-tirpc.h" +#include "lapi/rpc.h" #define PROCNUM 1#define VERSNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_complex.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <time.h> #include <pthread.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define CALCTHREADPROC 1000
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_dataint.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define INTPROCNUM 10
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_mt.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <time.h> #include <pthread.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_performance.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <sys/time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_scalability.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <pthread.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_call/tirpc_bottomlevel_clnt_call_stress.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/tirpc_clnt_dg_create.c +1 -3
@@ -27,13 +27,11 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> #include <unistd.h> #include "librpc-tirpc.h" +#include "lapi/rpc.h" #define PROCNUM 1#define VERSNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_dg_create/tirpc_clnt_dg_create_limits.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/tirpc_clnt_vc_create.c +1 -3
@@ -27,13 +27,11 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> #include <unistd.h> #include "librpc-tirpc.h" +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_clnt_vc_create/tirpc_clnt_vc_create_limits.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_dg_create/tirpc_svc_dg_create.c +1 -3
@@ -27,13 +27,11 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> #include <unistd.h> #include "librpc-tirpc.h" +#include "lapi/rpc.h" #define PROCNUM 1#define VERSNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_dg_create/tirpc_svc_dg_create_limits.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_vc_create/tirpc_svc_vc_create.c +1 -3
@@ -27,13 +27,11 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> #include <unistd.h> #include "librpc-tirpc.h" +#include "lapi/rpc.h" #define PROCNUM 1#define VERSNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_bottomlevel_svc_vc_create/tirpc_svc_vc_create_limits.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_pcreateerror/tirpc_clnt_pcreateerror.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perrno/tirpc_clnt_perrno.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perrno/tirpc_clnt_perrno_complex.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perror/tirpc_clnt_perror.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_clnt_perror/tirpc_clnt_perror_complex.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noproc/tirpc_svcerr_noproc.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 667
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_noprog/tirpc_svcerr_noprog.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_progvers/tirpc_svcerr_progvers.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_systemerr/tirpc_svcerr_systemerr.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 10
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_err_svcerr_weakauth/tirpc_svcerr_weakauth.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 100
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_complex.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <time.h> #include <pthread.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define CALCTHREADPROC 1000
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_dataint.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define INTPROCNUM 10
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_mt.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <time.h> #include <pthread.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_performance.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <sys/time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_scalability.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <pthread.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_call/tirpc_expertlevel_clnt_call_stress.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/tirpc_clnt_tli_create.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_clnt_tli_create/tirpc_clnt_tli_create_limits.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_complex.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <time.h> #include <pthread.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define CALCTHREADPROC 1000
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_dataint.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define INTPROCNUM 10
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_mt.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <time.h> #include <pthread.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_performance.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <sys/time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_scalability.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <pthread.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_rmtcall/tirpc_rpcb_rmtcall_stress.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_set/tirpc_rpcb_set.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" #define PROCNUM 1#define VERSNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_rpcb_unset/tirpc_rpcb_unset.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" #define PROCNUM 1#define VERSNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg_mt.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <time.h> #include <pthread.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_reg/tirpc_svc_reg_stress.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_tli_create/tirpc_svc_tli_create.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_tli_create/tirpc_svc_tli_create_limits.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg_mt.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <time.h> #include <pthread.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_expertlevel_svc_unreg/tirpc_svc_unreg_stress.c +1 -3
@@ -27,11 +27,9 @@#include <stdlib.h> #include <stdio.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/netconfig.h> #include <netinet/in.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_complex.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <time.h> #include <pthread.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define CALCTHREADPROC 1000
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_dataint.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define INTPROCNUM 10
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_mt.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <time.h> #include <pthread.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_performance.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <sys/time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_scalability.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <pthread.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_call/tirpc_interlevel_clnt_call_stress.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/tirpc_clnt_control.c +1 -6
@@ -28,13 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> -#include <tirpc/netconfig.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_control/tirpc_clnt_control_limits.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create/tirpc_clnt_tp_create.c +1 -6
@@ -28,13 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> -#include <tirpc/netconfig.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create_timed/tirpc_clnt_tp_create_timed.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_clnt_tp_create_timed/tirpc_clnt_tp_create_timed_limits.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_interlevel_svc_tp_create/tirpc_svc_tp_create.c +1 -5
@@ -26,13 +26,9 @@*/ #include <stdio.h> -#include <tirpc/netconfig.h> #include <sys/socket.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define VERSNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_complex.c +1 -1
@@ -28,9 +28,9 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> #include <sys/socket.h> #include <netdb.h> +#include "lapi/rpc.h" //Standard define #define PINGPROC 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_dataint.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define INTPROCNUM 10
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_mt.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <time.h> #include <pthread.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_performance.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <sys/time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_scalability.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <pthread.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast/tirpc_rpc_broadcast_stress.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_complex.c +1 -1
@@ -28,9 +28,9 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> #include <sys/socket.h> #include <netdb.h> +#include "lapi/rpc.h" //Standard define #define PINGPROC 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_dataint.c +1 -1
@@ -26,9 +26,9 @@*/ #include <stdio.h> -#include <tirpc/rpc/rpc.h> #include <stdlib.h> #include <time.h> +#include "lapi/rpc.h" //Standard define #define INTPROCNUM 10
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_limits.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_mt.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <time.h> #include <pthread.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_performance.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <sys/time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_scalability.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <pthread.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_broadcast_exp/tirpc_rpc_broadcast_exp_stress.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_complex.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <time.h> #include <pthread.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define CALCTHREADPROC 1000
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_dataint.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define INTPROCNUM 10
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_mt.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <time.h> #include <pthread.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_performance.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <sys/time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_scalability.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <pthread.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_call/tirpc_rpc_call_stress.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg_mt.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <time.h> #include <pthread.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_simple_rpc_reg/tirpc_rpc_reg_stress.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_complex.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <time.h> #include <pthread.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define CALCTHREADPROC 1000
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_dataint.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define INTPROCNUM 10
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_mt.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <time.h> #include <pthread.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_performance.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <sys/time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_scalability.c +1 -5
@@ -29,12 +29,8 @@#include <stdlib.h> #include <pthread.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_call/tirpc_toplevel_clnt_call_stress.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create/tirpc_clnt_create.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create_timed/tirpc_clnt_create_timed.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_create_timed/tirpc_clnt_create_timed_limits.c +1 -1
@@ -28,7 +28,7 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/rpc/rpc.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_clnt_destroy/tirpc_clnt_destroy.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_svc_create/tirpc_svc_create.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/tirpc/tirpc_toplevel_svc_destroy/tirpc_svc_destroy.c +1 -5
@@ -28,12 +28,8 @@#include <stdio.h> #include <stdlib.h> #include <time.h> -#include <tirpc/netconfig.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define PROCNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_cleaner.c +1 -5
@@ -26,13 +26,9 @@*/ #include <stdio.h> -#include <tirpc/netconfig.h> #include <sys/socket.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define VERSNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_1/tirpc_svc_1.c +1 -5
@@ -26,13 +26,9 @@*/ #include <stdio.h> -#include <tirpc/netconfig.h> #include <sys/socket.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define VERSNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_11/tirpc_svc_11.c +1 -5
@@ -26,14 +26,10 @@*/ #include <stdio.h> -#include <tirpc/netconfig.h> #include <sys/socket.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> #include <netinet/in.h> +#include "lapi/rpc.h" //Standard define #define VERSNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_2/tirpc_svc_2.c +1 -5
@@ -26,13 +26,9 @@*/ #include <stdio.h> -#include <tirpc/netconfig.h> #include <sys/socket.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define VERSNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_3/tirpc_svc_3.c +1 -5
@@ -26,13 +26,9 @@*/ #include <stdio.h> -#include <tirpc/netconfig.h> #include <sys/socket.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define VERSNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_4/tirpc_svc_4.c +1 -5
@@ -26,13 +26,9 @@*/ #include <stdio.h> -#include <tirpc/netconfig.h> #include <sys/socket.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> +#include "lapi/rpc.h" //Standard define #define VERSNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_5/tirpc_svc_5.c +1 -5
@@ -27,16 +27,12 @@*/ #include <stdio.h> -#include <tirpc/netconfig.h> #include <sys/socket.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> #include <netinet/in.h> #include <unistd.h> #include "librpc-tirpc.h" +#include "lapi/rpc.h" #define VERSNUM 1#define PROCSIMPLEPING 1
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_6/tirpc_svc_6.c +1 -5
@@ -26,15 +26,11 @@*/ #include <stdio.h> -#include <tirpc/netconfig.h> #include <sys/socket.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> #include <pthread.h> #include <netinet/in.h> +#include "lapi/rpc.h" //Standard define #define VERSNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_7/tirpc_svc_7.c +1 -5
@@ -26,14 +26,10 @@*/ #include <stdio.h> -#include <tirpc/netconfig.h> #include <sys/socket.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> #include <netinet/in.h> +#include "lapi/rpc.h" //Standard define #define VERSNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_8/tirpc_svc_8.c +1 -5
@@ -27,14 +27,10 @@#include <stdio.h> #include <pthread.h> -#include <tirpc/netconfig.h> #include <sys/socket.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> #include <netinet/in.h> +#include "lapi/rpc.h" //Standard define #define VERSNUM 1
testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_9/tirpc_svc_9.c +1 -5
@@ -27,14 +27,10 @@#include <stdio.h> #include <pthread.h> -#include <tirpc/netconfig.h> #include <sys/socket.h> -#include <tirpc/rpc/rpc.h> -#include <tirpc/rpc/types.h> -#include <tirpc/rpc/xdr.h> -#include <tirpc/rpc/svc.h> #include <errno.h> #include <netinet/in.h> +#include "lapi/rpc.h" //Standard define #define VERSNUM 1
Signature · 1 line
2.16.2
RFC PATCH 1/1 rpc: Use libtirpc instead of Sun RPC from glib
Hi!
testcases/network/Makefile ifeq ($(ANDROID),1) · line 44
Quoted 11 lines
testcases/network/Makefile +3
-0@@ -39,6 +39,10 @@ ifeq ($(ANDROID),1) FILTER_OUT_DIRS += lib6 rpc sockets endif +ifeq ($(TIRPC_LIBS),) +FILTER_OUT_DIRS += rpc +endif
I do not get why we are moving the FILTER_OUT_DIRS one level up here. I'm not saying it's wrong but changes like that should be at least explained in the commit message.
Quoted 8 lines
testcases/network/Makefile +0
-0$(INSTALL_TARGETS): | generate .PHONY: generatetestcases/network/rpc/Makefile +0
-0
testcases/network/rpc/Makefile top_srcdir ?= ../../.. · line 28
Quoted 8 lines
testcases/network/rpc/Makefile +1
-4@@ -25,9 +25,6 @@ top_srcdir ?= ../../.. include $(top_srcdir)/include/mk/env_pre.mk INSTALL_TARGETS := *.sh - -ifeq ($(TIRPC_LIBS),) -FILTER_OUT_DIRS += rpc-tirpc -endif +LDLIBS += $(TIRPC_LIBS)
Isn't this added in the Makefile.inc?
The rest of the patchset looks obviously OK.
Signature · 2 lines
Cyril Hrubis [email protected]
RFC PATCH 1/1 rpc: Use libtirpc instead of Sun RPC from glib
Hi Cyril,
Quoted 8 lines
Quoted 7 lines
testcases/network/Makefile +0
-0@@ -39,6 +39,10 @@ ifeq ($(ANDROID),1) FILTER_OUT_DIRS += lib6 rpc sockets endif
Quoted 7 lines
testcases/network/Makefile ifeq ($(ANDROID),1) · line 44
Quoted 3 lines
testcases/network/Makefile +3
-0+ifeq ($(TIRPC_LIBS),) +FILTER_OUT_DIRS += rpc +endifI do not get why we are moving the
FILTER_OUT_DIRSone level up here. I'm not saying it's wrong but changes like that should be at least explained in the commit message.
You're right. I'll split it into 2 commits and send v2.
Quoted 10 lines
Quoted 9 lines
testcases/network/Makefile +0
-0$(INSTALL_TARGETS): | generate .PHONY: generatetestcases/network/rpc/Makefile +0
-0@@ -25,9 +25,6 @@ top_srcdir ?= ../../.. include $(top_srcdir)/include/mk/env_pre.mk
Quoted 8 lines
testcases/network/rpc/Makefile top_srcdir ?= ../../.. · line 28
Quoted 6 lines
testcases/network/rpc/Makefile +1
-4INSTALL_TARGETS := *.sh - -ifeq ($(TIRPC_LIBS),) -FILTER_OUT_DIRS += rpc-tirpc -endif +LDLIBS += $(TIRPC_LIBS)Isn't this added in the Makefile.inc?
Oh, sorry.
Quoted 1 line
The rest of the patchset looks obviously OK.
Kind regards,
Petr