Function rust_hawktracer::ht_registry_register_feature [−][src]
pub unsafe extern "C" fn ht_registry_register_feature(
feature_id: u32,
disable_callback: HT_FeatureDisableCallback
) -> HT_ErrorCode
Registers new a new feature in the system.
@param feature_id a feature identifier. @param disable_callback a function which gets called when timeline disables the feature.
@returns #HT_ERR_OK, if registration completed successfully; otherwise, appropriate error code.