libafsauthent: export additional xdr_ functions 31/13131/5
authorBenjamin Kaduk <kaduk@mit.edu>
Mon, 28 May 2018 03:54:01 +0000 (22:54 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Sun, 10 Jun 2018 23:09:40 +0000 (19:09 -0400)
Formally, we need to use xdr_free to deallocate storage for RPC output
variables, in case the XDR stack uses a different allocator than the
standard application allocator.  Some types have non-autogenerated
wrappers exposed already (e.g., token_FreeSet()), but for a handful of
the base ptint types we need to expose the xdr routines in order for a
safe way to deallocate their storage to be available.

Change-Id: Iaac349cfaa1a07d5908a88e4c230874c6301471a
Reviewed-on: https://gerrit.openafs.org/13131
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>

src/libafsauthent/afsauthent.def
src/libafsauthent/libafsauthent.la.sym

index 5395d0a..3eb1e25 100644 (file)
@@ -206,3 +206,6 @@ EXPORTS
         ugen_ClientInitCell                            @205
         ugen_ClientInitFlags                           @206
         ugen_ClientInitServer                          @207
+        xdr_idlist                                     @208
+        xdr_namelist                                   @209
+        xdr_prlist                                     @210
index 67128b7..83aa04e 100644 (file)
@@ -151,3 +151,6 @@ ugen_ClientInit
 ugen_ClientInitCell
 ugen_ClientInitFlags
 ugen_ClientInitServer
+xdr_idlist
+xdr_namelist
+xdr_prlist