summaryrefslogtreecommitdiffstats
path: root/openpgp-ffi/src/packet/userid.rs
AgeCommit message (Collapse)Author
2019-07-15Prepare for Rust 2018.Justus Winter
- This is the result of running `cargo fix --edition`, with some manual adjustments. - The vast majority of changes merely qualify module paths with 'crate::'. - Two instances of adding an anonymous pattern to a trait's function. - `async` is a keyword in Rust 2018, and hence it needs to be escaped (e.g. in the case of the net::r#async module). - The manual adjustments were needed due to various shortcomings of the analysis employed by `cargo fix`, e.g. unexpanded macros, procedural macros, lalrpop grammars.
2019-06-26openpgp-ffi, ffi, ffi-macros: Avoid deprecated integer types.Justus Winter
2019-05-31ffi: Add bindings for User ID constructorsNeal H. Walfield
- Add bindings for the new User ID constructors, UserID::from_address and UserID::from_unchecked_address.
2019-05-28openpgp-ffi: Add bindings for new UserID methodsNeal H. Walfield
- Providing bindings for UserID::other and UserID::address_or_other. - Improve related documentation to reflect the changes to the parser.
2019-05-17openpgp-ffi: Typo.Justus Winter
2019-05-08openpgp-ffi: Fix indentationNeal H. Walfield
2019-05-08openpgp-ffi: Use extern "C", not extern "system"Neal H. Walfield
2019-05-08openpgp-ffi: Add functions to instantiate UserIDsNeal H. Walfield
- Add pgp_user_id_new to instantiate from a c string. - Add pgp_user_id_from_raw to instantiate from a not-NUL-terminated buffer.
2019-05-07openpgp-ffi, ffi: Fix calling convention on Windows.Justus Winter
- Use `extern "C"` instead of `extern "system"`. The latter selects stdcall, which is only appropriate for talking to the Windows API.
2019-05-07openpgp-ffi: Add functions to extract the various parts of a User IDNeal H. Walfield
- Add pgp_user_id_name, pgp_user_id_comment, pgp_user_id_address, and pgp_user_id_address_normalized.
2019-04-29openpgp-ffi: Introduce a new Packet type.Justus Winter
- See #156.
2019-03-21openpgp: Rename `UserID::userid()` to `value()`.Justus Winter
- Fixes #224.
2019-02-05openpgp-ffi: Use a common macro for every exported function.Justus Winter
- This way we can easily introduce new transformations.
2019-01-18openpgp-ffi: Move the packet-related functions.Justus Winter