]> git.ipfire.org Git - pakfire.git/commitdiff
httpclient: Remove references to downloader
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 12 Oct 2024 19:12:36 +0000 (19:12 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 12 Oct 2024 19:12:36 +0000 (19:12 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/include/pakfire/httpclient.h

index 6df780452258ec01deca94ccfeb98b8e5c478926..9c3836c3949633724ea75f21e0570a2e240a0f11 100644 (file)
@@ -30,20 +30,20 @@ struct pakfire_httpclient;
 #include <pakfire/ctx.h>
 #include <pakfire/xfer.h>
 
-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 */