pub unsafe extern "C" fn tr_sessionSetPexEnabled(
    session: *mut tr_session,
    isEnabled: u8
)
Expand description

@brief Set whether or not torrents are allowed to do peer exchanges.

PEX is always disabled in private torrents regardless of this. In public torrents, PEX is enabled by default.