From 4623a395cea948c701c91b161dffccdd2f45afa4 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 12 Oct 2024 19:12:36 +0000 Subject: [PATCH] httpclient: Remove references to downloader Signed-off-by: Michael Tremer --- src/libpakfire/include/pakfire/httpclient.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/libpakfire/include/pakfire/httpclient.h b/src/libpakfire/include/pakfire/httpclient.h index 6df780452..9c3836c39 100644 --- a/src/libpakfire/include/pakfire/httpclient.h +++ b/src/libpakfire/include/pakfire/httpclient.h @@ -30,20 +30,20 @@ struct pakfire_httpclient; #include #include -int pakfire_httpclient_create(struct pakfire_httpclient** downloader, +int pakfire_httpclient_create(struct pakfire_httpclient** client, struct pakfire_ctx* ctx, sd_event* loop); -struct pakfire_httpclient* pakfire_httpclient_ref(struct pakfire_httpclient* downloader); -struct pakfire_httpclient* pakfire_httpclient_unref(struct pakfire_httpclient* downloader); +struct pakfire_httpclient* pakfire_httpclient_ref(struct pakfire_httpclient* client); +struct pakfire_httpclient* pakfire_httpclient_unref(struct pakfire_httpclient* client); sd_event* pakfire_httpclient_loop(struct pakfire_httpclient* client); int pakfire_httpclient_enqueue_xfer( - struct pakfire_httpclient* downloader, struct pakfire_xfer* xfer); -int pakfire_httpclient_remove_xfer(struct pakfire_httpclient* client, - struct pakfire_xfer* xfer); + struct pakfire_httpclient* client, struct pakfire_xfer* xfer); +int pakfire_httpclient_remove_xfer( + struct pakfire_httpclient* client, struct pakfire_xfer* xfer); -int pakfire_httpclient_run(struct pakfire_httpclient* downloader, const char* title); +int pakfire_httpclient_run(struct pakfire_httpclient* client, const char* title); #endif /* PAKFIRE_PRIVATE */ #endif /* PAKFIRE_HTTPCLIENT_H */ -- 2.47.2