diff options
Diffstat (limited to 'src/libostree/ostree-repo-private.h')
-rw-r--r-- | src/libostree/ostree-repo-private.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libostree/ostree-repo-private.h b/src/libostree/ostree-repo-private.h index dc785690..f5eb140e 100644 --- a/src/libostree/ostree-repo-private.h +++ b/src/libostree/ostree-repo-private.h @@ -343,6 +343,21 @@ _ostree_repo_verify_commit_internal (OstreeRepo *self, GCancellable *cancellable, GError **error); +typedef enum { + _OSTREE_REPO_IMPORT_FLAGS_NONE, + _OSTREE_REPO_IMPORT_FLAGS_TRUSTED, + _OSTREE_REPO_IMPORT_FLAGS_VERIFY_BAREUSERONLY, +} OstreeRepoImportFlags; + +gboolean +_ostree_repo_import_object (OstreeRepo *self, + OstreeRepo *source, + OstreeObjectType objtype, + const char *checksum, + OstreeRepoImportFlags flags, + GCancellable *cancellable, + GError **error); + gboolean _ostree_repo_commit_tmpf_final (OstreeRepo *self, const char *checksum, |