From 992fd205bdd19c7d98814d8e234dad03a62d506f Mon Sep 17 00:00:00 2001 From: Benjamin Kaduk Date: Thu, 31 May 2018 19:02:18 -0500 Subject: [PATCH] libafsrpc: export more xdr functions Most of the xdr functions in the library text are to support RXAFS and RXAFSCB RPCs, which we explicitly do not expose from libafsrpc. As such, they do not need to be in the export list, but a couple of generic ones probably should be exported. Do so, for both Unix and Windows. Reviewed-on: https://gerrit.openafs.org/13139 Reviewed-by: Benjamin Kaduk Tested-by: BuildBot (cherry picked from commit 6e7db633efad1c88bb300089e3bd4c9feaea5f23) Change-Id: I42ae33f5fdb36401d052cfb200a22aff423ac0a9 Reviewed-on: https://gerrit.openafs.org/13195 Reviewed-by: Michael Meffie Reviewed-by: Joe Gorse Reviewed-by: Andrew Deason Reviewed-by: Marcio Brito Barbosa Reviewed-by: Benjamin Kaduk Tested-by: BuildBot --- src/libafsrpc/afsrpc.def | 2 ++ src/libafsrpc/libafsrpc.la.sym | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/libafsrpc/afsrpc.def b/src/libafsrpc/afsrpc.def index 5f59c4bcf..6d8d263e1 100755 --- a/src/libafsrpc/afsrpc.def +++ b/src/libafsrpc/afsrpc.def @@ -345,6 +345,8 @@ EXPORTS tkt_DeriveDesKey @350 opr_AssertFailU @351 opr_AssertionFailed @352 + xdr_Capabilities @353 + xdr_rpcStats @354 ; for performance testing rx_TSFPQGlobSize @2001 DATA diff --git a/src/libafsrpc/libafsrpc.la.sym b/src/libafsrpc/libafsrpc.la.sym index fc07f3b7d..dff93da4a 100644 --- a/src/libafsrpc/libafsrpc.la.sym +++ b/src/libafsrpc/libafsrpc.la.sym @@ -179,10 +179,12 @@ tkt_DecodeTicket tkt_DeriveDesKey tkt_MakeTicket tkt_MakeTicket5 +xdr_Capabilities xdr_afsUUID xdr_afs_int32 xdr_afs_int64 xdr_afs_uint32 xdr_afs_uint64 +xdr_rpcStats xdrlen_create xdrrx_create -- 2.39.5