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-remote-private.h | |
parent | b24aff6580e8a9b2c6fcee06f6c36aad33be0923 (diff) | |
download | xdg-app-4316c9e1047ca63fc831aff1cc36aab55f54332e.tar.gz |
lib: Add API to add/modify/remove remotes
Diffstat (limited to 'lib/flatpak-remote-private.h')
-rw-r--r-- | lib/flatpak-remote-private.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/flatpak-remote-private.h b/lib/flatpak-remote-private.h index 9f79679..71f8e04 100644 --- a/lib/flatpak-remote-private.h +++ b/lib/flatpak-remote-private.h @@ -29,7 +29,12 @@ #include <flatpak-dir.h> #include <ostree.h> -FlatpakRemote *flatpak_remote_new (FlatpakDir *dir, - const char *name); +FlatpakRemote *flatpak_remote_new_with_dir (const char *name, + FlatpakDir *dir); + +gboolean flatpak_remote_commit (FlatpakRemote *self, + FlatpakDir *dir, + GCancellable *cancellable, + GError **error); #endif /* __FLATPAK_REMOTE_PRIVATE_H__ */ |