Function libzt::zts_init_set_roots [−][src]
pub unsafe extern "C" fn zts_init_set_roots(
roots_data: *const c_void,
len: c_uint
) -> c_int
Expand description
@brief Present a root set definition for ZeroTier to use instead of the default.
This is an initialization function that can only be called before zts_node_start()
.
@param roots_data Array of roots definition data (binary)
@param len Length of binary data
@return ZTS_ERR_OK
if successful, ZTS_ERR_SERVICE
if the node
experiences a problem, ZTS_ERR_ARG
if invalid argument.