Function gnunet_sys::GNUNET_TUN_ipv6policy2regex [−][src]
pub unsafe extern "C" fn GNUNET_TUN_ipv6policy2regex(
policy: *const c_char
) -> *mut c_char
Convert an exit policy to a regular expression. The exit policy specifies a set of subnets this peer is willing to serve as an exit for; the resulting regular expression will match the IPv6 address strings as returned by #GNUNET_TUN_ipv6toregexsearch.
@param policy exit policy specification @return regular expression, NULL on error