libostree-bootconfig-parser

libostree-bootconfig-parser

Synopsis

                    OstreeBootconfigParser;
OstreeBootconfigParser * ostree_bootconfig_parser_new   (void);
OstreeBootconfigParser * ostree_bootconfig_parser_clone (OstreeBootconfigParser *self);
gboolean            ostree_bootconfig_parser_parse      (OstreeBootconfigParser *self,
                                                         GFile *path,
                                                         GCancellable *cancellable,
                                                         GError **error);
gboolean            ostree_bootconfig_parser_write      (OstreeBootconfigParser *self,
                                                         GFile *output,
                                                         GCancellable *cancellable,
                                                         GError **error);
void                ostree_bootconfig_parser_set        (OstreeBootconfigParser *self,
                                                         const char *key,
                                                         const char *value);
const char *        ostree_bootconfig_parser_get        (OstreeBootconfigParser *self,
                                                         const char *key);

Description

Details

OstreeBootconfigParser

typedef struct _OstreeBootconfigParser OstreeBootconfigParser;

ostree_bootconfig_parser_new ()

OstreeBootconfigParser * ostree_bootconfig_parser_new   (void);

ostree_bootconfig_parser_clone ()

OstreeBootconfigParser * ostree_bootconfig_parser_clone (OstreeBootconfigParser *self);

self :

Bootconfig to clone

Returns :

Copy of self. [transfer full]

ostree_bootconfig_parser_parse ()

gboolean            ostree_bootconfig_parser_parse      (OstreeBootconfigParser *self,
                                                         GFile *path,
                                                         GCancellable *cancellable,
                                                         GError **error);

ostree_bootconfig_parser_write ()

gboolean            ostree_bootconfig_parser_write      (OstreeBootconfigParser *self,
                                                         GFile *output,
                                                         GCancellable *cancellable,
                                                         GError **error);

ostree_bootconfig_parser_set ()

void                ostree_bootconfig_parser_set        (OstreeBootconfigParser *self,
                                                         const char *key,
                                                         const char *value);

ostree_bootconfig_parser_get ()

const char *        ostree_bootconfig_parser_get        (OstreeBootconfigParser *self,
                                                         const char *key);