tor_start

Function tor_start 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn tor_start( tmp_path: *mut c_char, ) -> *mut c_char
Expand description

Switch on tor daemon. BETA: Careful with this.

ยงSafety

  • This function is unsafe because it dereferences and a returns raw pointer.
  • ENSURE that result is passed into cstring_free(ptr: *mut c_char) after use.