Function gnunet_sys::GNUNET_HELLO_parse_uri [−][src]
pub unsafe extern "C" fn GNUNET_HELLO_parse_uri(
uri: *const c_char,
pubkey: *mut GNUNET_CRYPTO_EddsaPublicKey,
hello: *mut *mut GNUNET_HELLO_Message,
plugins_find: GNUNET_HELLO_TransportPluginsFind
) -> c_int
Parse a hello URI string to a hello message.
@param uri URI string to parse @param pubkey Pointer to struct where public key is parsed @param hello Pointer to struct where hello message is parsed @param plugins_find Function to find transport plugins by name @return #GNUNET_OK on success, #GNUNET_SYSERR if the URI was invalid, #GNUNET_NO on other errors