diff options
Diffstat (limited to 'src/libostree/ostree-cmd-private.h')
-rw-r--r-- | src/libostree/ostree-cmd-private.h | 35 |
1 files changed, 23 insertions, 12 deletions
diff --git a/src/libostree/ostree-cmd-private.h b/src/libostree/ostree-cmd-private.h index 17f943c8..15d95f7f 100644 --- a/src/libostree/ostree-cmd-private.h +++ b/src/libostree/ostree-cmd-private.h @@ -23,21 +23,32 @@ G_BEGIN_DECLS -gboolean _ostree_impl_system_generator (const char *ostree_cmdline, const char *normal_dir, const char *early_dir, const char *late_dir, GError **error); +gboolean _ostree_impl_system_generator (const char *ostree_cmdline, const char *normal_dir, + const char *early_dir, const char *late_dir, + GError **error); -typedef struct { - gboolean (* ostree_system_generator) (const char *ostree_cmdline, const char *normal_dir, const char *early_dir, const char *late_dir, GError **error); - gboolean (* ostree_generate_grub2_config) (OstreeSysroot *sysroot, int bootversion, int target_fd, GCancellable *cancellable, GError **error); - gboolean (* ostree_static_delta_dump) (OstreeRepo *repo, const char *delta_id, GCancellable *cancellable, GError **error); - gboolean (* ostree_static_delta_query_exists) (OstreeRepo *repo, const char *delta_id, gboolean *out_exists, GCancellable *cancellable, GError **error); - gboolean (* ostree_static_delta_delete) (OstreeRepo *repo, const char *delta_id, GCancellable *cancellable, GError **error); - gboolean (* ostree_repo_verify_bindings) (const char *collection_id, const char *ref_name, GVariant *commit, GError **error); - gboolean (* ostree_finalize_staged) (OstreeSysroot *sysroot, GCancellable *cancellable, GError **error); - gboolean (* ostree_boot_complete) (OstreeSysroot *sysroot, GCancellable *cancellable, GError **error); +typedef struct +{ + gboolean (*ostree_system_generator) (const char *ostree_cmdline, const char *normal_dir, + const char *early_dir, const char *late_dir, GError **error); + gboolean (*ostree_generate_grub2_config) (OstreeSysroot *sysroot, int bootversion, int target_fd, + GCancellable *cancellable, GError **error); + gboolean (*ostree_static_delta_dump) (OstreeRepo *repo, const char *delta_id, + GCancellable *cancellable, GError **error); + gboolean (*ostree_static_delta_query_exists) (OstreeRepo *repo, const char *delta_id, + gboolean *out_exists, GCancellable *cancellable, + GError **error); + gboolean (*ostree_static_delta_delete) (OstreeRepo *repo, const char *delta_id, + GCancellable *cancellable, GError **error); + gboolean (*ostree_repo_verify_bindings) (const char *collection_id, const char *ref_name, + GVariant *commit, GError **error); + gboolean (*ostree_finalize_staged) (OstreeSysroot *sysroot, GCancellable *cancellable, + GError **error); + gboolean (*ostree_boot_complete) (OstreeSysroot *sysroot, GCancellable *cancellable, + GError **error); } OstreeCmdPrivateVTable; /* Note this not really "public", we just export the symbol, but not the header */ -_OSTREE_PUBLIC const OstreeCmdPrivateVTable * -ostree_cmd__private__ (void); +_OSTREE_PUBLIC const OstreeCmdPrivateVTable *ostree_cmd__private__ (void); G_END_DECLS |