diff options
author | Colin Walters <walters@verbum.org> | 2023-05-03 08:24:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 08:24:21 -0400 |
commit | 8a2993a9d01cc358e4c2d936ca132174aabdc714 (patch) | |
tree | 5402001ab710dadfd51ba3e9071b044016030e3e /src/libostree/ostree-cmd-private.h | |
parent | dd70c9b78cc34ccc7e638eda4c2df1ddd8ee3add (diff) | |
parent | c1044a02b28982ef6dd58af98b23a40482d26487 (diff) | |
download | ostree-8a2993a9d01cc358e4c2d936ca132174aabdc714.tar.gz |
Merge pull request #2565 from cgwalters/clang-format
Add .clang-format file + tree-wide: Run `clang-format`
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 |