]> git.ipfire.org Git - pakfire.git/commitdiff
daemon: Remove more unused code
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 26 Jun 2025 09:49:56 +0000 (09:49 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 26 Jun 2025 09:49:56 +0000 (09:49 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/daemon.c
src/pakfire/daemon.h

index 89e9df6706f78dad40b00b60cf2ec2968587886f..1bb26bfc68d88b50246866bd010f8674641725ca 100644 (file)
@@ -396,10 +396,6 @@ struct pakfire_daemon* pakfire_daemon_unref(struct pakfire_daemon* daemon) {
        return NULL;
 }
 
-const char* pakfire_daemon_url(struct pakfire_daemon* daemon) {
-       return daemon->url;
-}
-
 int pakfire_daemon_main(struct pakfire_daemon* daemon) {
        int r;
 
index 0d7ad518202b3ef092226e9bf4af90e502b842bd..dadf7d68405ca582ad1231b2dc5ad41b6b2cf1e9 100644 (file)
 struct pakfire_daemon;
 
 #include <pakfire/ctx.h>
-#include <pakfire/job.h>
-
-#include <json.h>
 
 int pakfire_daemon_create(struct pakfire_daemon** daemon, struct pakfire_ctx* ctx);
 
 struct pakfire_daemon* pakfire_daemon_ref(struct pakfire_daemon* daemon);
 struct pakfire_daemon* pakfire_daemon_unref(struct pakfire_daemon* daemon);
 
-const char* pakfire_daemon_url(struct pakfire_daemon* daemon);
-
 int pakfire_daemon_main(struct pakfire_daemon* daemon);
 
-// Send message
-int pakfire_daemon_send_message(struct pakfire_daemon* self, struct json_object* message);
-
 #endif /* PAKFIRE_DAEMON_H */