Update to 2021.2
Sync to https://github.com/ostreedev/ostree/releases/tag/v2021.2
This commit is contained in:
1 parent
9bb0dd3c4d
commit
7d15179670
15 files changed
+1034
-640
No files matched your search
@@ -54,6 +54,7 @@ dox = []
|
||||
v2020_7 = ["v2020_4"]
|
||||
v2020_8 = ["v2020_7"]
|
||||
v2021_1 = ["v2020_8"]
|
||||
v2021_2 = ["v2021_1"]
|
||||
|
||||
[lib]
|
||||
name = "ostree_sys"
|
||||
@@ -115,3 +116,4 @@ v2020_4 = "2020.4"
|
||||
v2020_7 = "2020.7"
|
||||
v2020_8 = "2020.8"
|
||||
v2021_1 = "2021.1"
|
||||
v2021_2 = "2021.2"
|
||||
@@ -1,2 +1,2 @@
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 9fe8b26)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ e4bcf9b+)
|
||||
@@ -306,6 +306,20 @@ impl ::std::fmt::Debug for OstreeCommitSizesEntry {
|
||||
}
|
||||
}
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct OstreeContentWriterClass {
|
||||
pub parent_class: gio::GOutputStreamClass,
|
||||
}
|
||||
|
||||
impl ::std::fmt::Debug for OstreeContentWriterClass {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("OstreeContentWriterClass @ {:?}", self as *const _))
|
||||
.field("parent_class", &self.parent_class)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
#[repr(C)]
|
||||
#[derive(Copy, Clone)]
|
||||
pub struct OstreeDiffDirsOptions {
|
||||
@@ -839,6 +853,16 @@ impl ::std::fmt::Debug for OstreeBootconfigParser {
|
||||
}
|
||||
}
|
||||
|
||||
#[repr(C)]
|
||||
pub struct OstreeContentWriter(c_void);
|
||||
|
||||
impl ::std::fmt::Debug for OstreeContentWriter {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("OstreeContentWriter @ {:?}", self as *const _))
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
#[repr(C)]
|
||||
pub struct OstreeDeployment(c_void);
|
||||
|
||||
@@ -1187,6 +1211,12 @@ extern "C" {
|
||||
pub fn ostree_checksum_input_stream_get_type() -> GType;
|
||||
//pub fn ostree_checksum_input_stream_new(stream: *mut gio::GInputStream, checksum: *mut glib::GChecksum) -> /*Ignored*/*mut OstreeChecksumInputStream;
|
||||
|
||||
//=========================================================================
|
||||
// OstreeContentWriter
|
||||
//=========================================================================
|
||||
pub fn ostree_content_writer_get_type() -> GType;
|
||||
pub fn ostree_content_writer_finish(self_: *mut OstreeContentWriter, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> *mut c_char;
|
||||
|
||||
//=========================================================================
|
||||
// OstreeDeployment
|
||||
//=========================================================================
|
||||
@@ -1445,6 +1475,12 @@ extern "C" {
|
||||
pub fn ostree_repo_write_metadata_stream_trusted(self_: *mut OstreeRepo, objtype: OstreeObjectType, checksum: *const c_char, object_input: *mut gio::GInputStream, length: u64, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
|
||||
pub fn ostree_repo_write_metadata_trusted(self_: *mut OstreeRepo, objtype: OstreeObjectType, checksum: *const c_char, variant: *mut glib::GVariant, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
|
||||
pub fn ostree_repo_write_mtree(self_: *mut OstreeRepo, mtree: *mut OstreeMutableTree, out_file: *mut *mut gio::GFile, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
|
||||
#[cfg(any(feature = "v2021_2", feature = "dox"))]
|
||||
pub fn ostree_repo_write_regfile(self_: *mut OstreeRepo, expected_checksum: *const c_char, uid: u32, gid: u32, mode: u32, content_len: u64, xattrs: *mut glib::GVariant, error: *mut *mut glib::GError) -> *mut OstreeContentWriter;
|
||||
#[cfg(any(feature = "v2021_2", feature = "dox"))]
|
||||
pub fn ostree_repo_write_regfile_inline(self_: *mut OstreeRepo, expected_checksum: *const c_char, uid: u32, gid: u32, mode: u32, xattrs: *mut glib::GVariant, buf: *const u8, len: size_t, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> *mut c_char;
|
||||
#[cfg(any(feature = "v2021_2", feature = "dox"))]
|
||||
pub fn ostree_repo_write_symlink(self_: *mut OstreeRepo, expected_checksum: *const c_char, uid: u32, gid: u32, xattrs: *mut glib::GVariant, symlink_target: *const c_char, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> *mut c_char;
|
||||
|
||||
//=========================================================================
|
||||
// OstreeRepoFile
|
||||
|
||||
@@ -244,6 +244,7 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||
("OstreeCollectionRef", Layout {size: size_of::<OstreeCollectionRef>(), alignment: align_of::<OstreeCollectionRef>()}),
|
||||
("OstreeCollectionRefv", Layout {size: size_of::<OstreeCollectionRefv>(), alignment: align_of::<OstreeCollectionRefv>()}),
|
||||
("OstreeCommitSizesEntry", Layout {size: size_of::<OstreeCommitSizesEntry>(), alignment: align_of::<OstreeCommitSizesEntry>()}),
|
||||
("OstreeContentWriterClass", Layout {size: size_of::<OstreeContentWriterClass>(), alignment: align_of::<OstreeContentWriterClass>()}),
|
||||
("OstreeDeploymentUnlockedState", Layout {size: size_of::<OstreeDeploymentUnlockedState>(), alignment: align_of::<OstreeDeploymentUnlockedState>()}),
|
||||
("OstreeDiffDirsOptions", Layout {size: size_of::<OstreeDiffDirsOptions>(), alignment: align_of::<OstreeDiffDirsOptions>()}),
|
||||
("OstreeDiffFlags", Layout {size: size_of::<OstreeDiffFlags>(), alignment: align_of::<OstreeDiffFlags>()}),
|
||||
|
||||
Reference in new issue
Block a user