Function gnunet_sys::GNUNET_a2s [−][src]
pub unsafe extern "C" fn GNUNET_a2s(
addr: *const sockaddr,
addrlen: socklen_t
) -> *const c_char
@ingroup logging Convert a “struct sockaddr*” (IPv4 or IPv6 address) to a string (for printing debug messages). This is one of the very few calls in the entire API that is NOT reentrant!
@param addr the address @param addrlen the length of the @a addr @return nicely formatted string for the address will be overwritten by next call to #GNUNET_a2s().