diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-05-16 16:25:46 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-05-16 16:26:17 +0200 |
commit | 4316c9e1047ca63fc831aff1cc36aab55f54332e (patch) | |
tree | 721d210fd95870a5ce60a5c27c8a5c6c10ede94d /lib/flatpak-installation.h | |
parent | b24aff6580e8a9b2c6fcee06f6c36aad33be0923 (diff) | |
download | xdg-app-4316c9e1047ca63fc831aff1cc36aab55f54332e.tar.gz |
lib: Add API to add/modify/remove remotes
Diffstat (limited to 'lib/flatpak-installation.h')
-rw-r--r-- | lib/flatpak-installation.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/flatpak-installation.h b/lib/flatpak-installation.h index 796d1e1..e6461a1 100644 --- a/lib/flatpak-installation.h +++ b/lib/flatpak-installation.h @@ -138,6 +138,14 @@ FLATPAK_EXTERN FlatpakRemote *flatpak_installation_get_remote_by_name (Fl const gchar *name, GCancellable *cancellable, GError **error); +FLATPAK_EXTERN gboolean flatpak_installation_modify_remote (FlatpakInstallation *self, + FlatpakRemote *remote, + GCancellable *cancellable, + GError **error); +FLATPAK_EXTERN gboolean flatpak_installation_remove_remote (FlatpakInstallation *self, + const char *name, + GCancellable *cancellable, + GError **error); FLATPAK_EXTERN char * flatpak_installation_load_app_overrides (FlatpakInstallation *self, const char *app_id, GCancellable *cancellable, |