Function gnunet_sys::GNUNET_IDENTITY_set[][src]

pub unsafe extern "C" fn GNUNET_IDENTITY_set(
    id: *mut GNUNET_IDENTITY_Handle,
    service_name: *const c_char,
    ego: *mut GNUNET_IDENTITY_Ego,
    cont: GNUNET_IDENTITY_Continuation,
    cont_cls: *mut c_void
) -> *mut GNUNET_IDENTITY_Operation

Set the preferred/default ego for a service.

@param id identity service to inform @param service_name for which service is an identity set @param ego new default identity to be set for this service @param cont function to call once the operation finished @param cont_cls closure for @a cont @return handle to abort the operation