Function libzt::zts_init_allow_port_mapping[][src]

pub unsafe extern "C" fn zts_init_allow_port_mapping(allowed: c_uint) -> c_int
Expand description

@brief Allow or disallow the use of port-mapping. This is enabled by default. This is an initialization function that can only be called before zts_node_start().

@param port Port number @return ZTS_ERR_OK if successful, ZTS_ERR_SERVICE if the node experiences a problem, ZTS_ERR_ARG if invalid argument.