summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-remote-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libostree/ostree-remote-private.h')
-rw-r--r--src/libostree/ostree-remote-private.h23
1 files changed, 11 insertions, 12 deletions
diff --git a/src/libostree/ostree-remote-private.h b/src/libostree/ostree-remote-private.h
index eba74305..24ada6c7 100644
--- a/src/libostree/ostree-remote-private.h
+++ b/src/libostree/ostree-remote-private.h
@@ -26,8 +26,8 @@
#pragma once
#include <gio/gio.h>
-#include <glib.h>
#include <glib-object.h>
+#include <glib.h>
#include "libglnx.h"
#include "ostree-remote.h"
@@ -38,24 +38,23 @@ G_BEGIN_DECLS
/* @refspec_name is set if this is a dynamic remote. It’s the name of the static
* remote which this one inherits from, and is what should be used in refspecs
* for pulls from this remote. If it’s %NULL, @name should be used instead. */
-struct OstreeRemote {
- int ref_count; /* atomic */
- char *name; /* (not nullable) */
- char *refspec_name; /* (nullable) */
- char *group; /* group name in options (not nullable) */
- char *keyring; /* keyring name ($refspec_name.trustedkeys.gpg) (not nullable) */
- GFile *file; /* NULL if remote defined in repo/config */
+struct OstreeRemote
+{
+ int ref_count; /* atomic */
+ char *name; /* (not nullable) */
+ char *refspec_name; /* (nullable) */
+ char *group; /* group name in options (not nullable) */
+ char *keyring; /* keyring name ($refspec_name.trustedkeys.gpg) (not nullable) */
+ GFile *file; /* NULL if remote defined in repo/config */
GKeyFile *options;
};
G_GNUC_INTERNAL
OstreeRemote *ostree_remote_new (const gchar *name);
G_GNUC_INTERNAL
-OstreeRemote *ostree_remote_new_dynamic (const gchar *name,
- const gchar *refspec_name);
+OstreeRemote *ostree_remote_new_dynamic (const gchar *name, const gchar *refspec_name);
G_GNUC_INTERNAL
-OstreeRemote *ostree_remote_new_from_keyfile (GKeyFile *keyfile,
- const gchar *group);
+OstreeRemote *ostree_remote_new_from_keyfile (GKeyFile *keyfile, const gchar *group);
G_END_DECLS