| OSTree API references | ||||
|---|---|---|---|---|
| Top | Description | ||||
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_parse_at (OstreeBootconfigParser *self,int dfd,const char *path,GCancellable *cancellable,GError **error); gboolean ostree_bootconfig_parser_write (OstreeBootconfigParser *self,GFile *output,GCancellable *cancellable,GError **error); gboolean ostree_bootconfig_parser_write_at (OstreeBootconfigParser *self,int dfd,const char *path,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);
OstreeBootconfigParser * ostree_bootconfig_parser_clone (OstreeBootconfigParser *self);
|
Bootconfig to clone |
Returns : |
Copy of self. [transfer full]
|
gboolean ostree_bootconfig_parser_parse (OstreeBootconfigParser *self,GFile *path,GCancellable *cancellable,GError **error);
gboolean ostree_bootconfig_parser_parse_at (OstreeBootconfigParser *self,int dfd,const char *path,GCancellable *cancellable,GError **error);
Initialize a bootconfig from the given file.
|
Parser |
|
Directory fd |
|
File path |
|
Cancellable |
|
Error |
gboolean ostree_bootconfig_parser_write (OstreeBootconfigParser *self,GFile *output,GCancellable *cancellable,GError **error);
gboolean ostree_bootconfig_parser_write_at (OstreeBootconfigParser *self,int dfd,const char *path,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);