Function gnunet_sys::GNUNET_IDENTITY_get[][src]

pub unsafe extern "C" fn GNUNET_IDENTITY_get(
    id: *mut GNUNET_IDENTITY_Handle,
    service_name: *const c_char,
    cb: GNUNET_IDENTITY_Callback,
    cb_cls: *mut c_void
) -> *mut GNUNET_IDENTITY_Operation

Obtain the ego that is currently preferred/default for a service.

@param id identity service to query @param service_name for which service 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