pjsua_srtp_opt_dup method

void pjsua_srtp_opt_dup(
  1. Pointer<pj_pool_t> pool,
  2. Pointer<pjsua_srtp_opt> dst,
  3. Pointer<pjsua_srtp_opt> src,
  4. int check_str,
)

Duplicate SRTP transport setting. If the \a pool argument is NULL, a simple memcpy() will be used.

@param pool Memory to duplicate strings. @param dst Destination setting. @param src Source setting. @param check_str If set to TRUE, the function will check if strings are identical before copying. Identical strings will not be duplicated. If set to FALSE, all strings will be duplicated.

Implementation

void pjsua_srtp_opt_dup(
  ffi.Pointer<pj_pool_t> pool,
  ffi.Pointer<pjsua_srtp_opt> dst,
  ffi.Pointer<pjsua_srtp_opt> src,
  int check_str,
) {
  return _pjsua_srtp_opt_dup(
    pool,
    dst,
    src,
    check_str,
  );
}