Function libzt::zts_ipaddr_aton[][src]

pub unsafe extern "C" fn zts_ipaddr_aton(
    cp: *const c_char,
    addr: *mut zts_ip_addr
) -> c_int
Expand description

Convert IP address string (both versions) to numeric. The version is auto-detected from the string.

@param cp IP address string to convert @param addr conversion result is stored here @return 1 on success, 0 on error