Function sequoia_openpgp_ffi::armor::pgp_armor_reader_kind [−][src]
#[no_mangle]
pub extern "C" fn pgp_armor_reader_kind(
reader: *const Reader
) -> c_int
Expand description
Returns the kind of data this reader is for.
C Declaration
int
pgp_armor_reader_kind (const pgp_reader_t reader);
Useful if the kind of data is not known in advance. If the header has not been encountered yet (try reading some data first!), this function returns PGP_ARMOR_KIND_ANY.
Examples
See this example.