summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-bootconfig-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libostree/ostree-bootconfig-parser.h')
-rw-r--r--src/libostree/ostree-bootconfig-parser.h49
1 files changed, 19 insertions, 30 deletions
diff --git a/src/libostree/ostree-bootconfig-parser.h b/src/libostree/ostree-bootconfig-parser.h
index 6d8359da..5fdad72e 100644
--- a/src/libostree/ostree-bootconfig-parser.h
+++ b/src/libostree/ostree-bootconfig-parser.h
@@ -22,8 +22,10 @@
G_BEGIN_DECLS
#define OSTREE_TYPE_BOOTCONFIG_PARSER (ostree_bootconfig_parser_get_type ())
-#define OSTREE_BOOTCONFIG_PARSER(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), OSTREE_TYPE_BOOTCONFIG_PARSER, OstreeBootconfigParser))
-#define OSTREE_IS_BOOTCONFIG_PARSER(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), OSTREE_TYPE_BOOTCONFIG_PARSER))
+#define OSTREE_BOOTCONFIG_PARSER(inst) \
+ (G_TYPE_CHECK_INSTANCE_CAST ((inst), OSTREE_TYPE_BOOTCONFIG_PARSER, OstreeBootconfigParser))
+#define OSTREE_IS_BOOTCONFIG_PARSER(inst) \
+ (G_TYPE_CHECK_INSTANCE_TYPE ((inst), OSTREE_TYPE_BOOTCONFIG_PARSER))
typedef struct _OstreeBootconfigParser OstreeBootconfigParser;
@@ -31,51 +33,38 @@ _OSTREE_PUBLIC
GType ostree_bootconfig_parser_get_type (void) G_GNUC_CONST;
_OSTREE_PUBLIC
-OstreeBootconfigParser * ostree_bootconfig_parser_new (void);
+OstreeBootconfigParser *ostree_bootconfig_parser_new (void);
_OSTREE_PUBLIC
-OstreeBootconfigParser * ostree_bootconfig_parser_clone (OstreeBootconfigParser *self);
+OstreeBootconfigParser *ostree_bootconfig_parser_clone (OstreeBootconfigParser *self);
_OSTREE_PUBLIC
-gboolean ostree_bootconfig_parser_parse (OstreeBootconfigParser *self,
- GFile *path,
- GCancellable *cancellable,
- GError **error);
+gboolean ostree_bootconfig_parser_parse (OstreeBootconfigParser *self, GFile *path,
+ GCancellable *cancellable, GError **error);
_OSTREE_PUBLIC
-gboolean ostree_bootconfig_parser_parse_at (OstreeBootconfigParser *self,
- int dfd,
- const char *path,
- GCancellable *cancellable,
- GError **error);
+gboolean ostree_bootconfig_parser_parse_at (OstreeBootconfigParser *self, int dfd, const char *path,
+ GCancellable *cancellable, GError **error);
_OSTREE_PUBLIC
-gboolean ostree_bootconfig_parser_write (OstreeBootconfigParser *self,
- GFile *output,
- GCancellable *cancellable,
- GError **error);
+gboolean ostree_bootconfig_parser_write (OstreeBootconfigParser *self, GFile *output,
+ GCancellable *cancellable, GError **error);
_OSTREE_PUBLIC
-gboolean ostree_bootconfig_parser_write_at (OstreeBootconfigParser *self,
- int dfd,
- const char *path,
- GCancellable *cancellable,
- GError **error);
+gboolean ostree_bootconfig_parser_write_at (OstreeBootconfigParser *self, int dfd, const char *path,
+ GCancellable *cancellable, GError **error);
_OSTREE_PUBLIC
-void ostree_bootconfig_parser_set (OstreeBootconfigParser *self,
- const char *key,
- const char *value);
+void ostree_bootconfig_parser_set (OstreeBootconfigParser *self, const char *key,
+ const char *value);
_OSTREE_PUBLIC
-const char *ostree_bootconfig_parser_get (OstreeBootconfigParser *self,
- const char *key);
+const char *ostree_bootconfig_parser_get (OstreeBootconfigParser *self, const char *key);
_OSTREE_PUBLIC
-void ostree_bootconfig_parser_set_overlay_initrds (OstreeBootconfigParser *self,
- char **initrds);
+void ostree_bootconfig_parser_set_overlay_initrds (OstreeBootconfigParser *self, char **initrds);
_OSTREE_PUBLIC
-char** ostree_bootconfig_parser_get_overlay_initrds (OstreeBootconfigParser *self);
+char **ostree_bootconfig_parser_get_overlay_initrds (OstreeBootconfigParser *self);
G_END_DECLS