diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2021-07-06 23:16:53 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2021-07-06 23:16:53 +0200 |
commit | d0d24c62f4b4a1872c8b52ad902b11aa4962d2c2 (patch) | |
tree | 3c7b51b2d16d9478d9c2efbbeaf04bb18f3d41b7 /src/include/gnunet_dhtu_plugin.h | |
parent | 7d384a118326f5ce8237281c5b5ffa36c32662fe (diff) | |
download | gnunet-d0d24c62f4b4a1872c8b52ad902b11aa4962d2c2.tar.gz gnunet-d0d24c62f4b4a1872c8b52ad902b11aa4962d2c2.zip |
-rudimentary untested IP DHTU plugin
Diffstat (limited to 'src/include/gnunet_dhtu_plugin.h')
-rw-r--r-- | src/include/gnunet_dhtu_plugin.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/gnunet_dhtu_plugin.h b/src/include/gnunet_dhtu_plugin.h index bcf61eaa2..4e5abf476 100644 --- a/src/include/gnunet_dhtu_plugin.h +++ b/src/include/gnunet_dhtu_plugin.h | |||
@@ -168,7 +168,7 @@ struct GNUNET_DHTU_PluginEnvironment | |||
168 | * @param std_dev standard deviation for the estimate | 168 | * @param std_dev standard deviation for the estimate |
169 | */ | 169 | */ |
170 | void | 170 | void |
171 | (*network_size_cb)(void *ctx, | 171 | (*network_size_cb)(void *cls, |
172 | struct GNUNET_TIME_Absolute timestamp, | 172 | struct GNUNET_TIME_Absolute timestamp, |
173 | double logestimate, | 173 | double logestimate, |
174 | double std_dev); | 174 | double std_dev); |
@@ -184,7 +184,6 @@ struct GNUNET_DHTU_PluginEnvironment | |||
184 | * pointer will remain valid until @e disconnect_cb is called | 184 | * pointer will remain valid until @e disconnect_cb is called |
185 | * @param target handle to the target, | 185 | * @param target handle to the target, |
186 | * pointer will remain valid until @e disconnect_cb is called | 186 | * pointer will remain valid until @e disconnect_cb is called |
187 | * @param sctx context of the source address on which the connection happened | ||
188 | * @param[out] ctx storage space for DHT to use in association with this target | 187 | * @param[out] ctx storage space for DHT to use in association with this target |
189 | */ | 188 | */ |
190 | void | 189 | void |
@@ -192,7 +191,6 @@ struct GNUNET_DHTU_PluginEnvironment | |||
192 | const struct GNUNET_DHTU_PublicKey *pk, | 191 | const struct GNUNET_DHTU_PublicKey *pk, |
193 | const struct GNUNET_DHTU_Hash *peer_id, | 192 | const struct GNUNET_DHTU_Hash *peer_id, |
194 | struct GNUNET_DHTU_Target *target, | 193 | struct GNUNET_DHTU_Target *target, |
195 | void *sctx, | ||
196 | void **ctx); | 194 | void **ctx); |
197 | 195 | ||
198 | /** | 196 | /** |