Function gnunet_sys::GNUNET_IDENTITY_ego_lookup_by_suffix [−][src]
pub unsafe extern "C" fn GNUNET_IDENTITY_ego_lookup_by_suffix(
cfg: *const GNUNET_CONFIGURATION_Handle,
suffix: *const c_char,
cb: GNUNET_IDENTITY_EgoSuffixCallback,
cb_cls: *mut c_void
) -> *mut GNUNET_IDENTITY_EgoSuffixLookup
Obtain the ego with the maximum suffix match between the ego’s name and the given domain name @a suffix. I.e., given a @a suffix “a.b.c” and egos with names “d.a.b.c”, “b.c” and “c”, we return the ego for “b.c”.
@param cfg configuration to use @param suffix for which domain name suffix is an identity wanted @param cb function to call with the result (will only be called once) @param cb_cls closure for @a cb @return handle to abort the operation