Function libzt::node::zts_core_lock_obtain[][src]

pub unsafe extern "C" fn zts_core_lock_obtain() -> c_int
Expand description

@brief Lock the core service so that queries about addresses, routes, paths, etc. can be performed.

Notice: Core locking functions are intended to be used by high-level language wrappers. Only lock the core if you know exactly what you are doing.

@return ZTS_ERR_OK if successful. ZTS_ERR_SERVICE if the core service is unavailable.