Function gnunet_sys::GNUNET_HELLO_add_address [−][src]
pub unsafe extern "C" fn GNUNET_HELLO_add_address(
address: *const GNUNET_HELLO_Address,
expiration: GNUNET_TIME_Absolute,
target: *mut c_char,
max: usize
) -> usize
Copy the given address information into the given buffer using the format of HELLOs.
@param address address to add @param expiration expiration for the address @param target where to copy the address @param max maximum number of bytes to copy to @a target @return number of bytes copied, 0 if the target buffer was not big enough.