Update gir file

This commit is contained in:
Felix Krull authored and Colin Walters committed 2022-05-06 12:53:55 -04:00
1 parent f5c255b4b4
commit d2e384a39f
12 files changed
+6215 -1653

No files matched your search

+2 -1
View File
@@ -44,6 +44,7 @@ v2018_7 = ["v2018_6"]
v2018_9 = ["v2018_7"]
v2019_2 = ["v2018_9"]
v2019_3 = ["v2019_2"]
v2019_4 = ["v2019_3"]
dox = []
[lib]
@@ -63,4 +64,4 @@ repository = "https://gitlab.com/fkrull/ostree-rs"
version = "0.5.0"
["package.metadata.docs.rs"]
features = ["dox", "v2019_3"]
features = ["dox", "v2019_4"]
+3 -1
View File
@@ -31,7 +31,9 @@ fn main() {
fn find() -> Result<(), Error> {
let package_name = "ostree-1";
let shared_libs = ["ostree-1"];
let version = if cfg!(feature = "v2019_3") {
let version = if cfg!(feature = "v2019_4") {
"2019.4"
} else if cfg!(feature = "v2019_3") {
"2019.3"
} else if cfg!(feature = "v2019_2") {
"2019.2"
+8
View File
@@ -155,6 +155,7 @@ pub const OSTREE_REPO_COMMIT_MODIFIER_FLAGS_DEVINO_CANONICAL: OstreeRepoCommitMo
pub type OstreeRepoCommitState = c_uint;
pub const OSTREE_REPO_COMMIT_STATE_NORMAL: OstreeRepoCommitState = 0;
pub const OSTREE_REPO_COMMIT_STATE_PARTIAL: OstreeRepoCommitState = 1;
pub const OSTREE_REPO_COMMIT_STATE_FSCK_PARTIAL: OstreeRepoCommitState = 2;
pub type OstreeRepoCommitTraverseFlags = c_uint;
pub const OSTREE_REPO_COMMIT_TRAVERSE_FLAG_NONE: OstreeRepoCommitTraverseFlags = 1;
@@ -247,6 +248,11 @@ pub struct _OstreeBootloaderUboot(c_void);
pub type OstreeBootloaderUboot = *mut _OstreeBootloaderUboot;
#[repr(C)]
pub struct _OstreeBootloaderZipl(c_void);
pub type OstreeBootloaderZipl = *mut _OstreeBootloaderZipl;
#[repr(C)]
pub struct _OstreeChecksumInputStreamPrivate(c_void);
@@ -1213,6 +1219,8 @@ extern "C" {
pub fn ostree_repo_load_variant_if_exists(self_: *mut OstreeRepo, objtype: OstreeObjectType, sha256: *const c_char, out_variant: *mut *mut glib::GVariant, error: *mut *mut glib::GError) -> gboolean;
#[cfg(any(feature = "v2017_15", feature = "dox"))]
pub fn ostree_repo_mark_commit_partial(self_: *mut OstreeRepo, checksum: *const c_char, is_partial: gboolean, error: *mut *mut glib::GError) -> gboolean;
#[cfg(any(feature = "v2019_4", feature = "dox"))]
pub fn ostree_repo_mark_commit_partial_reason(self_: *mut OstreeRepo, checksum: *const c_char, is_partial: gboolean, in_state: OstreeRepoCommitState, error: *mut *mut glib::GError) -> gboolean;
pub fn ostree_repo_open(self_: *mut OstreeRepo, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
pub fn ostree_repo_prepare_transaction(self_: *mut OstreeRepo, out_transaction_resume: *mut gboolean, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
pub fn ostree_repo_prune(self_: *mut OstreeRepo, flags: OstreeRepoPruneFlags, depth: c_int, out_objects_total: *mut c_int, out_objects_pruned: *mut c_int, out_pruned_object_size_total: *mut u64, cancellable: *mut gio::GCancellable, error: *mut *mut glib::GError) -> gboolean;
+1
View File
@@ -355,6 +355,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
("(guint) OSTREE_REPO_COMMIT_MODIFIER_FLAGS_GENERATE_SIZES", "2"),
("(guint) OSTREE_REPO_COMMIT_MODIFIER_FLAGS_NONE", "0"),
("(guint) OSTREE_REPO_COMMIT_MODIFIER_FLAGS_SKIP_XATTRS", "1"),
("(guint) OSTREE_REPO_COMMIT_STATE_FSCK_PARTIAL", "2"),
("(guint) OSTREE_REPO_COMMIT_STATE_NORMAL", "0"),
("(guint) OSTREE_REPO_COMMIT_STATE_PARTIAL", "1"),
("(guint) OSTREE_REPO_COMMIT_TRAVERSE_FLAG_NONE", "1"),