rx: Rework identity copying
authorSimon Wilkinson <sxw@your-file-system.com>
Sun, 21 Nov 2010 10:16:26 +0000 (10:16 +0000)
committerJeffrey Altman <jaltman@openafs.org>
Wed, 24 Nov 2010 05:29:45 +0000 (21:29 -0800)
commitd3a0537b7772e087437913a115f88c8f48e0348c
tree21554c540c025c63b23960bc31fe34981c657ca4
parent76de77c7f9a6f58e7d7e85554decaa2ac959db07
rx: Rework identity copying

Change the behaviour of the rx_identity_copy function so that it
copies the whole identity, not just the contents. Add a new function
rx_identity_copyContents which just copies the contents of an identity
into an existing identity structure.

This restores symmetry with the free and freeContents functions.

Change-Id: I692ac8434b1538c283a8ae713956be8ae67cccfd
Reviewed-on: http://gerrit.openafs.org/3352
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
src/rx/rx_identity.c
src/rx/rx_identity.h
src/shlibafsrpc/libafsrpc.map