[][src]Function cantact::c::cantact_init

#[no_mangle]pub extern "C" fn cantact_init() -> *mut CInterface

Create a new CANtact interface, returning a pointer to the interface. This pointer must be provided as the first argument to all other calls in this library.

If this function fails, it returns a null pointer (0).