This function is called after the library makes a shallow copy of a DOFAddress and its data.
If the transport requires a deeper copy of any data held by this new DOFAddress (e.g., pointers to data that are tied to the lifecycle of the original DOFAddress), then the transport must make the necessary in-place adjustments to the given data. Once this function returns, the copied DOFAddress (and anything to which it refers) must have its own lifecycle.
This callback may be NULL if a shallow PCRMem_Copy is sufficient to copy the address data (a deeper copy is not needed).
- Parameters
-
transport | The Transport. This parameter will never be NULL. |
size | The size of the address data. |
addr | The shallow copy of the address data. Modifications must be made in-place. This parameter will never be NULL. |
- Return values
-
TRUE | The address was successfully copied. |
FALSE | The address failed to be copied. |