Cloning an Existing SDP Session Structure

sdp_session_t *sdp_clone_session(const sdp_session_t *session);

The sdp_clone_session() function creates a new SDP session structure that is identical to the SDP session structure that is identified in the session parameter.

For more information, see the sdp_clone_session(3COMMPUTIL) man page.