diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-21 14:43:47 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-21 14:43:47 +0000 |
commit | 75c121f5ae37d3c7ccd95f4449aea33ccb4200f0 (patch) | |
tree | 3fb440657f99a826cc4f963db55e28cb426ed9d8 /src/dht | |
parent | eb2371484330014aaef9b0bfac1f1ae191bc2460 (diff) | |
download | gnunet-75c121f5ae37d3c7ccd95f4449aea33ccb4200f0.tar.gz gnunet-75c121f5ae37d3c7ccd95f4449aea33ccb4200f0.zip |
change to core pai
Diffstat (limited to 'src/dht')
-rw-r--r-- | src/dht/gnunet-service-dht_neighbours.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c index 12eebe753..6c52ab342 100644 --- a/src/dht/gnunet-service-dht_neighbours.c +++ b/src/dht/gnunet-service-dht_neighbours.c | |||
@@ -626,9 +626,7 @@ send_find_peer_message (void *cls, | |||
626 | * @param atsi_count number of records in 'atsi' | 626 | * @param atsi_count number of records in 'atsi' |
627 | */ | 627 | */ |
628 | static void | 628 | static void |
629 | handle_core_connect (void *cls, const struct GNUNET_PeerIdentity *peer, | 629 | handle_core_connect (void *cls, const struct GNUNET_PeerIdentity *peer) |
630 | const struct GNUNET_ATS_Information *atsi, | ||
631 | unsigned int atsi_count) | ||
632 | { | 630 | { |
633 | struct PeerInfo *ret; | 631 | struct PeerInfo *ret; |
634 | int peer_bucket; | 632 | int peer_bucket; |
@@ -1548,9 +1546,7 @@ core_init (void *cls, struct GNUNET_CORE_Handle *server, | |||
1548 | */ | 1546 | */ |
1549 | static int | 1547 | static int |
1550 | handle_dht_p2p_put (void *cls, const struct GNUNET_PeerIdentity *peer, | 1548 | handle_dht_p2p_put (void *cls, const struct GNUNET_PeerIdentity *peer, |
1551 | const struct GNUNET_MessageHeader *message, | 1549 | const struct GNUNET_MessageHeader *message) |
1552 | const struct GNUNET_ATS_Information *atsi, | ||
1553 | unsigned int atsi_count) | ||
1554 | { | 1550 | { |
1555 | const struct PeerPutMessage *put; | 1551 | const struct PeerPutMessage *put; |
1556 | const struct GNUNET_PeerIdentity *put_path; | 1552 | const struct GNUNET_PeerIdentity *put_path; |
@@ -1801,9 +1797,7 @@ handle_find_peer (const struct GNUNET_PeerIdentity *sender, | |||
1801 | */ | 1797 | */ |
1802 | static int | 1798 | static int |
1803 | handle_dht_p2p_get (void *cls, const struct GNUNET_PeerIdentity *peer, | 1799 | handle_dht_p2p_get (void *cls, const struct GNUNET_PeerIdentity *peer, |
1804 | const struct GNUNET_MessageHeader *message, | 1800 | const struct GNUNET_MessageHeader *message) |
1805 | const struct GNUNET_ATS_Information *atsi, | ||
1806 | unsigned int atsi_count) | ||
1807 | { | 1801 | { |
1808 | struct PeerGetMessage *get; | 1802 | struct PeerGetMessage *get; |
1809 | uint32_t xquery_size; | 1803 | uint32_t xquery_size; |
@@ -1943,9 +1937,7 @@ handle_dht_p2p_get (void *cls, const struct GNUNET_PeerIdentity *peer, | |||
1943 | */ | 1937 | */ |
1944 | static int | 1938 | static int |
1945 | handle_dht_p2p_result (void *cls, const struct GNUNET_PeerIdentity *peer, | 1939 | handle_dht_p2p_result (void *cls, const struct GNUNET_PeerIdentity *peer, |
1946 | const struct GNUNET_MessageHeader *message, | 1940 | const struct GNUNET_MessageHeader *message) |
1947 | const struct GNUNET_ATS_Information *atsi, | ||
1948 | unsigned int atsi_count) | ||
1949 | { | 1941 | { |
1950 | const struct PeerResultMessage *prm; | 1942 | const struct PeerResultMessage *prm; |
1951 | const struct GNUNET_PeerIdentity *put_path; | 1943 | const struct GNUNET_PeerIdentity *put_path; |