Function dds_merge_listener

Function Documentation

void dds_merge_listener(dds_listener_t *dst, const dds_listener_t *src)

Copy the listener callbacks from source to destination, unless already set.

Any listener callbacks already set in dst (including NULL) are skipped, only those set to DDS_LUNSET are copied from src.

Parameters
  • dst[inout] The pointer to the destination listener structure, where the content is merged

  • src[in] The pointer to the source listener structure to be copied