diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-01-07 16:42:37 +0100 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-01-07 16:42:37 +0100 |
commit | f10ceaa4ac04dcafe0bce42eb4fed3832225b594 (patch) | |
tree | c75c7beac03bfcbeca8534d295fdf16a419564fc /openpgp-ffi | |
parent | c3f0c59bf7d826cc955e38bcac68fb336038e67d (diff) |
Fix broken links in the documentation.
Diffstat (limited to 'openpgp-ffi')
-rw-r--r-- | openpgp-ffi/src/armor.rs | 2 | ||||
-rw-r--r-- | openpgp-ffi/src/cert.rs | 6 | ||||
-rw-r--r-- | openpgp-ffi/src/crypto.rs | 2 | ||||
-rw-r--r-- | openpgp-ffi/src/fingerprint.rs | 4 | ||||
-rw-r--r-- | openpgp-ffi/src/keyid.rs | 4 | ||||
-rw-r--r-- | openpgp-ffi/src/lib.rs | 4 | ||||
-rw-r--r-- | openpgp-ffi/src/packet/key.rs | 4 | ||||
-rw-r--r-- | openpgp-ffi/src/packet/literal.rs | 2 | ||||
-rw-r--r-- | openpgp-ffi/src/packet/mod.rs | 2 | ||||
-rw-r--r-- | openpgp-ffi/src/packet/signature.rs | 4 | ||||
-rw-r--r-- | openpgp-ffi/src/packet_pile.rs | 4 | ||||
-rw-r--r-- | openpgp-ffi/src/parse/mod.rs | 6 | ||||
-rw-r--r-- | openpgp-ffi/src/parse/stream.rs | 2 | ||||
-rw-r--r-- | openpgp-ffi/src/serialize.rs | 4 | ||||
-rw-r--r-- | openpgp-ffi/src/tsk.rs | 8 |
15 files changed, 29 insertions, 29 deletions
diff --git a/openpgp-ffi/src/armor.rs b/openpgp-ffi/src/armor.rs index 4ce8187d..f0da2905 100644 --- a/openpgp-ffi/src/armor.rs +++ b/openpgp-ffi/src/armor.rs @@ -2,7 +2,7 @@ //! //! Wraps [`sequoia-openpgp::armor`]. //! -//! [`sequoia-openpgp::armor`]: ../../sequoia_openpgp/armor/index.html +//! [`sequoia-openpgp::armor`]: ../../../sequoia_openpgp/armor/index.html use std::mem::size_of; use std::ptr; diff --git a/openpgp-ffi/src/cert.rs b/openpgp-ffi/src/cert.rs index 90aac1ea..2d18ff18 100644 --- a/openpgp-ffi/src/cert.rs +++ b/openpgp-ffi/src/cert.rs @@ -2,8 +2,8 @@ //! //! Wraps [`sequoia-openpgp::Cert`] and [related functionality]. //! -//! [`sequoia-openpgp::Cert`]: ../../sequoia_openpgp/struct.Cert.html -//! [related functionality]: ../../sequoia_openpgp/cert/index.html +//! [`sequoia-openpgp::Cert`]: ../../../sequoia_openpgp/cert/struct.Cert.html +//! [related functionality]: ../../../sequoia_openpgp/cert/index.html use std::ptr; use std::slice; @@ -140,7 +140,7 @@ fn pgp_cert_fingerprint(cert: *const Cert) /// /// This object writes out secret keys during serialization. /// -/// [`TSK`]: cert/struct.TSK.html +/// [`TSK`]: ../tsk/struct.TSK.html #[::sequoia_ffi_macros::extern_fn] #[no_mangle] pub extern "C" fn pgp_cert_as_tsk(cert: *const Cert) -> *mut TSK<'static> { cert.ref_raw().as_tsk().move_into_raw() diff --git a/openpgp-ffi/src/crypto.rs b/openpgp-ffi/src/crypto.rs index d4e7ace9..4bc35f5b 100644 --- a/openpgp-ffi/src/crypto.rs +++ b/openpgp-ffi/src/crypto.rs @@ -2,7 +2,7 @@ //! //! Wraps [`sequoia-openpgp::crypto`]. //! -//! [`sequoia-openpgp::crypto`]: ../../sequoia_openpgp/crypto/index.html +//! [`sequoia-openpgp::crypto`]: ../../../sequoia_openpgp/crypto/index.html use libc::size_t; diff --git a/openpgp-ffi/src/fingerprint.rs b/openpgp-ffi/src/fingerprint.rs index a74f64f0..549311b5 100644 --- a/openpgp-ffi/src/fingerprint.rs +++ b/openpgp-ffi/src/fingerprint.rs @@ -8,7 +8,7 @@ //! //! Wraps [`sequoia-openpgp::Fingerprint`]. //! -//! [`sequoia-openpgp::Fingerprint`]: ../../sequoia_openpgp/enum.Fingerprint.html +//! [`sequoia-openpgp::Fingerprint`]: ../../../sequoia_openpgp/enum.Fingerprint.html use std::slice; use libc::{c_char, size_t}; @@ -29,7 +29,7 @@ use crate::RefRaw; /// /// Wraps [`sequoia-openpgp::Fingerprint`]. /// -/// [`sequoia-openpgp::Fingerprint`]: ../../sequoia_openpgp/enum.Fingerprint.html +/// [`sequoia-openpgp::Fingerprint`]: ../../../sequoia_openpgp/enum.Fingerprint.html #[crate::ffi_wrapper_type(prefix = "pgp_", derive = "Clone, Debug, Display, Hash, PartialEq")] pub struct Fingerprint(openpgp::Fingerprint); diff --git a/openpgp-ffi/src/keyid.rs b/openpgp-ffi/src/keyid.rs index 8c1bd21e..8ec550a0 100644 --- a/openpgp-ffi/src/keyid.rs +++ b/openpgp-ffi/src/keyid.rs @@ -8,7 +8,7 @@ //! //! Wraps [`sequoia-openpgp::KeyID`]. //! -//! [`sequoia-openpgp::KeyID`]: ../../sequoia_openpgp/enum.KeyID.html +//! [`sequoia-openpgp::KeyID`]: ../../../sequoia_openpgp/enum.KeyID.html use std::slice; use libc::{c_char}; @@ -29,7 +29,7 @@ use crate::MoveIntoRaw; /// /// Wraps [`sequoia-openpgp::KeyID`]. /// -/// [`sequoia-openpgp::KeyID`]: ../../sequoia_openpgp/enum.KeyID.html +/// [`sequoia-openpgp::KeyID`]: ../../../sequoia_openpgp/enum.KeyID.html #[crate::ffi_wrapper_type(prefix = "pgp_", name = "keyid", derive = "Clone, Debug, Display, Hash, PartialEq")] pub struct KeyID(openpgp::KeyID); diff --git a/openpgp-ffi/src/lib.rs b/openpgp-ffi/src/lib.rs index 1ec4ad50..a3991f50 100644 --- a/openpgp-ffi/src/lib.rs +++ b/openpgp-ffi/src/lib.rs @@ -134,7 +134,7 @@ //! or the allocation for the string failed, which is considered //! undefined behavior. //! -//! [`pgp_fingerprint_to_string`]: struct.Fingerprint.html#method.pgp_fingerprint_to_string +//! [`pgp_fingerprint_to_string`]: fingerprint/struct.Fingerprint.html#method.pgp_fingerprint_to_string //! //! Failing functions signal failure either in-band (e.g. `NULL`, or //! -1), using `pgp_status_t`, and may store complex error information @@ -145,7 +145,7 @@ //! on the other hand, will return `NULL` and store a complex error at //! the location given using the `errp` parameter. //! -//! [`pgp_fingerprint_from_hex`]: struct.Fingerprint.html#method.pgp_fingerprint_from_hex +//! [`pgp_fingerprint_from_hex`]: fingerprint/struct.Fingerprint.html#method.pgp_fingerprint_from_hex //! [`pgp_packet_parser_from_bytes`]: parse/fn.pgp_packet_parser_from_bytes.html //! //! Errors may be inspected using [`pgp_error_status`], and formatted diff --git a/openpgp-ffi/src/packet/key.rs b/openpgp-ffi/src/packet/key.rs index 73d8350d..e774fd43 100644 --- a/openpgp-ffi/src/packet/key.rs +++ b/openpgp-ffi/src/packet/key.rs @@ -25,9 +25,9 @@ type UnspecifiedKey = /// /// [Section 5.5 of RFC 4880]: https://tools.ietf.org/html/rfc4880#section-5.5 /// -/// Wraps [`sequoia-openpgp::packet::key::Key`]. +/// Wraps [`sequoia-openpgp::packet::Key`]. /// -/// [`sequoia-openpgp::packet::key::Key`]: ../../sequoia_openpgp/packet/key/struct.Key.html +/// [`sequoia-openpgp::packet::key::Key`]: ../../../../sequoia_openpgp/packet/enum.Key.html #[crate::ffi_wrapper_type(prefix = "pgp_", derive = "Clone, Debug, PartialEq, Parse")] pub struct Key(UnspecifiedKey); diff --git a/openpgp-ffi/src/packet/literal.rs b/openpgp-ffi/src/packet/literal.rs index 61d32f41..cf84e038 100644 --- a/openpgp-ffi/src/packet/literal.rs +++ b/openpgp-ffi/src/packet/literal.rs @@ -28,7 +28,7 @@ use crate::RefRaw; /// /// Wraps [`sequoia-openpgp::packet::literal::Literal`]. /// -/// [`sequoia-openpgp::packet::literal::Literal`]: ../../sequoia_openpgp/packet/literal/struct.Literal.html +/// [`sequoia-openpgp::packet::literal::Literal`]: ../../../../sequoia_openpgp/packet/literal/struct.Literal.html #[crate::ffi_wrapper_type(prefix = "pgp_", derive = "Debug, Parse, Serialize")] pub struct Literal(openpgp::packet::Literal); diff --git a/openpgp-ffi/src/packet/mod.rs b/openpgp-ffi/src/packet/mod.rs index deef792a..d3392c99 100644 --- a/openpgp-ffi/src/packet/mod.rs +++ b/openpgp-ffi/src/packet/mod.rs @@ -43,7 +43,7 @@ use crate::RefRaw; /// /// Wraps [`sequoia-openpgp::Packet`]. /// -/// [`sequoia-openpgp::Packet`]: ../../sequoia_openpgp/enum.Packet.html +/// [`sequoia-openpgp::Packet`]: ../../../sequoia_openpgp/enum.Packet.html #[crate::ffi_wrapper_type(prefix = "pgp_", derive = "Clone, Debug, Hash, PartialEq")] pub struct Packet(openpgp::Packet); diff --git a/openpgp-ffi/src/packet/signature.rs b/openpgp-ffi/src/packet/signature.rs index 64a81281..9b41282a 100644 --- a/openpgp-ffi/src/packet/signature.rs +++ b/openpgp-ffi/src/packet/signature.rs @@ -31,9 +31,9 @@ use crate::RefRaw; /// /// [Section 5.2 of RFC 4880]: https://tools.ietf.org/html/rfc4880#section-5.2 /// -/// Wraps [`sequoia-openpgp::packet::signature::Signature`]. +/// Wraps [`sequoia-openpgp::packet::Signature`]. /// -/// [`sequoia-openpgp::packet::signature::Signature`]: ../../sequoia_openpgp/packet/signature/struct.Signature.html +/// [`sequoia-openpgp::packet::Signature`]: ../../../../sequoia_openpgp/packet/enum.Signature.html #[crate::ffi_wrapper_type(prefix = "pgp_", derive = "Clone, Debug, PartialEq, Parse, Serialize")] pub struct Signature(openpgp::packet::Signature); diff --git a/openpgp-ffi/src/packet_pile.rs b/openpgp-ffi/src/packet_pile.rs index 27a6b40a..1fef7bb8 100644 --- a/openpgp-ffi/src/packet_pile.rs +++ b/openpgp-ffi/src/packet_pile.rs @@ -3,7 +3,7 @@ //! //! Wraps [`sequoia-openpgp::PacketPile`]. //! -//! [`sequoia-openpgp::PacketPile`]: ../../sequoia_openpgp/struct.PacketPile.html +//! [`sequoia-openpgp::PacketPile`]: ../../../sequoia_openpgp/struct.PacketPile.html extern crate sequoia_openpgp as openpgp; @@ -11,7 +11,7 @@ extern crate sequoia_openpgp as openpgp; /// /// Wraps [`sequoia-openpgp::PacketPile`]. /// -/// [`sequoia-openpgp::PacketPile`]: ../../sequoia_openpgp/struct.PacketPile.html +/// [`sequoia-openpgp::PacketPile`]: ../../../sequoia_openpgp/struct.PacketPile.html #[crate::ffi_wrapper_type(prefix = "pgp_", derive = "Clone, Debug, PartialEq, Parse, Serialize")] pub struct PacketPile(openpgp::PacketPile); diff --git a/openpgp-ffi/src/parse/mod.rs b/openpgp-ffi/src/parse/mod.rs index a4f213b5..a2569b2b 100644 --- a/openpgp-ffi/src/parse/mod.rs +++ b/openpgp-ffi/src/parse/mod.rs @@ -3,8 +3,8 @@ //! Wraps [`sequoia-openpgp::parse::PacketParser`] and [related //! functionality]. //! -//! [`sequoia-openpgp::parse::PacketParser`]: ../../sequoia_openpgp/parse/struct.PacketParser.html -//! [related functionality]: ../../sequoia_openpgp/parse/index.html +//! [`sequoia-openpgp::parse::PacketParser`]: ../../../sequoia_openpgp/parse/struct.PacketParser.html +//! [related functionality]: ../../../sequoia_openpgp/parse/index.html use std::mem::forget; use std::ptr; @@ -140,7 +140,7 @@ pub extern "C" fn pgp_packet_parser_recursion_depth /// recurse into the container, but skips any packets it contains. /// To recurse into the container, use the [`recurse()`] method. /// -/// [`PacketParsererBuilder`]: ../../sequoia_openpgp/parse/struct.PacketParserBuilder.html +/// [`PacketParsererBuilder`]: ../../../sequoia_openpgp/parse/struct.PacketParserBuilder.html /// [`recurse()`]: fn.pgp_packet_parser_recurse.html /// /// The return value is a tuple containing: diff --git a/openpgp-ffi/src/parse/stream.rs b/openpgp-ffi/src/parse/stream.rs index 76d19785..ae3fde7a 100644 --- a/openpgp-ffi/src/parse/stream.rs +++ b/openpgp-ffi/src/parse/stream.rs @@ -8,7 +8,7 @@ //! Wraps the streaming parsing functions, see //! [`sequoia-openpgp::parse::stream`]. //! -//! [`sequoia-openpgp::parse::stream`]: ../../../sequoia_openpgp/parse/stream/index.html +//! [`sequoia-openpgp::parse::stream`]: ../../../../sequoia_openpgp/parse/stream/index.html use std::ptr; use libc::{c_int, c_void, time_t}; diff --git a/openpgp-ffi/src/serialize.rs b/openpgp-ffi/src/serialize.rs index d6a7695b..db9e708a 100644 --- a/openpgp-ffi/src/serialize.rs +++ b/openpgp-ffi/src/serialize.rs @@ -3,7 +3,7 @@ //! Wraps the streaming packet serialization, see //! [`sequoia-openpgp::serialize::stream`]. //! -//! [`sequoia-openpgp::serialize::stream`]: ../../sequoia_openpgp/serialize/stream/index.html +//! [`sequoia-openpgp::serialize::stream`]: ../../../sequoia_openpgp/serialize/stream/index.html use std::ptr; use std::slice; @@ -237,7 +237,7 @@ pub extern "C" fn pgp_literal_writer_new /// /// Wraps [`sequoia-openpgp::serialize::stream::Recipient`]. /// -/// [`sequoia-openpgp::serialize::stream::Recipient`]: ../../sequoia_openpgp/serialize/stream/struct.Recipient.html +/// [`sequoia-openpgp::serialize::stream::Recipient`]: ../../../sequoia_openpgp/serialize/stream/struct.Recipient.html #[crate::ffi_wrapper_type(prefix = "pgp_", derive = "Debug")] pub struct Recipient<'a>(openpgp::serialize::stream::Recipient<'a>); diff --git a/openpgp-ffi/src/tsk.rs b/openpgp-ffi/src/tsk.rs index 2d1351ad..bc4307ef 100644 --- a/openpgp-ffi/src/tsk.rs +++ b/openpgp-ffi/src/tsk.rs @@ -1,8 +1,8 @@ //! Transferable secret keys. //! -//! Wraps [`sequoia-openpgp::cert::TSK`]. +//! Wraps [`sequoia-openpgp::serialize::TSK`]. //! -//! [`sequoia-openpgp::cert::TSK`]: ../../sequoia_openpgp/struct.TSK.html +//! [`sequoia-openpgp::serialize::TSK`]: ../../../sequoia_openpgp/serialize/struct.TSK.html extern crate sequoia_openpgp as openpgp; @@ -13,8 +13,8 @@ extern crate sequoia_openpgp as openpgp; /// /// [RFC 4880, section 11.2]: https://tools.ietf.org/html/rfc4880#section-11.2 /// -/// Wraps [`sequoia-openpgp::cert::TSK`]. +/// Wraps [`sequoia-openpgp::serialize::TSK`]. /// -/// [`sequoia-openpgp::cert::TSK`]: ../../sequoia_openpgp/enum.TSK.html +/// [`sequoia-openpgp::serialize::TSK`]: ../../../sequoia_openpgp/serialize/struct.TSK.html #[crate::ffi_wrapper_type(prefix = "pgp_", name = "tsk", derive = "Serialize")] pub struct TSK<'a>(openpgp::serialize::TSK<'a>); |