]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
libafsauthent: export additional xdr_ functions
authorBenjamin Kaduk <kaduk@mit.edu>
Mon, 28 May 2018 03:54:01 +0000 (22:54 -0500)
committerBenjamin Kaduk <kaduk@mit.edu>
Fri, 15 Jun 2018 12:35:47 +0000 (08:35 -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.

Reviewed-on: https://gerrit.openafs.org/13131
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit c12cfd7331727142cb928e08ec32a708d0cfd1e9)

Change-Id: Iea3b0bd9fdb373020b41c2bcbf1ebbde222114a8
Reviewed-on: https://gerrit.openafs.org/13192
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Joe Gorse <jhgorse@gmail.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/libafsauthent/afsauthent.def
src/libafsauthent/libafsauthent.la.sym

index 5395d0a6d735d2c76ca4a0a4794f6c37d09b45bb..3eb1e25aeb693e2ed1c387982bcdf096eed12960 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 67128b7a18312e2f9ea817ec5871205388d45674..83aa04ee81239080d85b0b8b3752f5881649e8ca 100644 (file)
@@ -151,3 +151,6 @@ ugen_ClientInit
 ugen_ClientInitCell
 ugen_ClientInitFlags
 ugen_ClientInitServer
+xdr_idlist
+xdr_namelist
+xdr_prlist