blob: a9c02526f8654eaf1be317c7f417ac7def5149ab [file] [log] [blame]
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
#[link(name = "windows")]
extern "system" {}
pub type ISyndicationClient = *mut ::core::ffi::c_void;
pub type ISyndicationNode = *mut ::core::ffi::c_void;
pub type ISyndicationText = *mut ::core::ffi::c_void;
#[repr(C)]
pub struct RetrievalProgress {
pub BytesRetrieved: u32,
pub TotalBytesToRetrieve: u32,
}
impl ::core::marker::Copy for RetrievalProgress {}
impl ::core::clone::Clone for RetrievalProgress {
fn clone(&self) -> Self {
*self
}
}
pub type SyndicationAttribute = *mut ::core::ffi::c_void;
pub type SyndicationCategory = *mut ::core::ffi::c_void;
pub type SyndicationClient = *mut ::core::ffi::c_void;
pub type SyndicationContent = *mut ::core::ffi::c_void;
#[repr(transparent)]
pub struct SyndicationErrorStatus(pub i32);
impl SyndicationErrorStatus {
pub const Unknown: Self = Self(0i32);
pub const MissingRequiredElement: Self = Self(1i32);
pub const MissingRequiredAttribute: Self = Self(2i32);
pub const InvalidXml: Self = Self(3i32);
pub const UnexpectedContent: Self = Self(4i32);
pub const UnsupportedFormat: Self = Self(5i32);
}
impl ::core::marker::Copy for SyndicationErrorStatus {}
impl ::core::clone::Clone for SyndicationErrorStatus {
fn clone(&self) -> Self {
*self
}
}
pub type SyndicationFeed = *mut ::core::ffi::c_void;
#[repr(transparent)]
pub struct SyndicationFormat(pub i32);
impl SyndicationFormat {
pub const Atom10: Self = Self(0i32);
pub const Rss20: Self = Self(1i32);
pub const Rss10: Self = Self(2i32);
pub const Rss092: Self = Self(3i32);
pub const Rss091: Self = Self(4i32);
pub const Atom03: Self = Self(5i32);
}
impl ::core::marker::Copy for SyndicationFormat {}
impl ::core::clone::Clone for SyndicationFormat {
fn clone(&self) -> Self {
*self
}
}
pub type SyndicationGenerator = *mut ::core::ffi::c_void;
pub type SyndicationItem = *mut ::core::ffi::c_void;
pub type SyndicationLink = *mut ::core::ffi::c_void;
pub type SyndicationNode = *mut ::core::ffi::c_void;
pub type SyndicationPerson = *mut ::core::ffi::c_void;
pub type SyndicationText = *mut ::core::ffi::c_void;
#[repr(transparent)]
pub struct SyndicationTextType(pub i32);
impl SyndicationTextType {
pub const Text: Self = Self(0i32);
pub const Html: Self = Self(1i32);
pub const Xhtml: Self = Self(2i32);
}
impl ::core::marker::Copy for SyndicationTextType {}
impl ::core::clone::Clone for SyndicationTextType {
fn clone(&self) -> Self {
*self
}
}
#[repr(C)]
pub struct TransferProgress {
pub BytesSent: u32,
pub TotalBytesToSend: u32,
pub BytesRetrieved: u32,
pub TotalBytesToRetrieve: u32,
}
impl ::core::marker::Copy for TransferProgress {}
impl ::core::clone::Clone for TransferProgress {
fn clone(&self) -> Self {
*self
}
}