From c56f780716660ad552bda98106de500fddddcb89 Mon Sep 17 00:00:00 2001 From: Joseph Marrero Date: Sat, 30 Sep 2023 22:28:37 -0400 Subject: [PATCH] WIP --- src/libostree/ostree-fetcher-soup.c | 18 ++++++++++++++++++ src/libostree/ostree-fetcher-soup3.c | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/src/libostree/ostree-fetcher-soup.c b/src/libostree/ostree-fetcher-soup.c index 629065fffe..8d8c623e0f 100644 --- a/src/libostree/ostree-fetcher-soup.c +++ b/src/libostree/ostree-fetcher-soup.c @@ -377,6 +377,24 @@ session_thread_set_extra_user_agent_cb (ThreadClosure *thread_closure, gpointer } } +void +_ostree_fetcher_set_low_speed_limit (OstreeFetcher *self, guint32 opt_low_speed_limit) +{ + // TO-DO +} + +void +_ostree_fetcher_set_retry_all (OstreeFetcher *self, gboolean opt_retry_all) +{ + // TO-DO +} + +void +_ostree_fetcher_set_cookie_jar (OstreeFetcher *self, const char *jar_path) +{ + // TO-DO +} + static void on_request_sent (GObject *object, GAsyncResult *result, gpointer user_data); static void diff --git a/src/libostree/ostree-fetcher-soup3.c b/src/libostree/ostree-fetcher-soup3.c index 380168023f..20f80815d7 100644 --- a/src/libostree/ostree-fetcher-soup3.c +++ b/src/libostree/ostree-fetcher-soup3.c @@ -380,6 +380,24 @@ _ostree_fetcher_set_extra_user_agent (OstreeFetcher *self, const char *extra_use self->user_agent = g_strdup_printf ("%s %s", OSTREE_FETCHER_USERAGENT_STRING, extra_user_agent); } +void +_ostree_fetcher_set_low_speed_limit (OstreeFetcher *self, guint32 opt_low_speed_limit) +{ + // TODO +} + +void +_ostree_fetcher_set_retry_all (OstreeFetcher *self, gboolean opt_retry_all) +{ + // TODO +} + +void +_ostree_fetcher_set_cookie_jar (OstreeFetcher *self, const char *jar_path) +{ + // TODO +} + static gboolean finish_stream (FetcherRequest *request, GCancellable *cancellable, GError **error) {