From: Michael Tremer Date: Sat, 12 Oct 2024 19:12:36 +0000 (+0000) Subject: httpclient: Remove references to downloader X-Git-Tag: 0.9.30~1053 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4623a395cea948c701c91b161dffccdd2f45afa4;p=pakfire.git httpclient: Remove references to downloader Signed-off-by: Michael Tremer --- 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 */