Function sequoia_ffi::openpgp::packet::literal::pgp_literal_filename[][src]

#[no_mangle]
pub extern "C" fn pgp_literal_filename(
    l: *const Literal
) -> *mut c_char
Expand description

Returns the filename as a c string.

C Declaration

char *
pgp_literal_filename (const pgp_literal_t l);

If the filename is not set, returns NULL.

Note: the filename is not protected by any signature and thus can be modified in transit without detection.

Note: the filename may contain embedded NULs. This function returns NULL in such cases.