Function sequoia_openpgp_ffi::packet::userid::pgp_user_id_value[][src]

#[no_mangle]
pub extern "C" fn pgp_user_id_value(
    uid: *const Packet,
    value_len: Option<&mut size_t>
) -> *const u8
Expand description

Returns the value of the User ID Packet.

C Declaration

const uint8_t *
pgp_user_id_value (const pgp_packet_t uid,
                   size_t *value_len);

The returned pointer is valid until uid is deallocated. If value_len is not NULL, the size of value is stored there.