From 1dcef3957393c0500b81d93ffacf573e78be9a51 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Tue, 19 Sep 2017 17:47:26 +0200 Subject: ipcpd: Enroll DHT when creating dt connection The DHT will now enroll or sync when a data transfer connection is added. This avoids the need to create a temporary data transfer connection during enrollment (and speeds it up considerably). The notifier system was modified to take an opaque pointer to the object that registers as a parameter. --- src/ipcpd/normal/dir.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/ipcpd/normal/dir.h') diff --git a/src/ipcpd/normal/dir.h b/src/ipcpd/normal/dir.h index 13571b68..68959836 100644 --- a/src/ipcpd/normal/dir.h +++ b/src/ipcpd/normal/dir.h @@ -29,8 +29,6 @@ void dir_fini(void); int dir_bootstrap(void); -int dir_enroll(uint64_t peer); - int dir_reg(const uint8_t * hash); int dir_unreg(const uint8_t * hash); -- cgit v1.2.3