aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_internal_dht.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-07-07 20:29:24 +0200
committerChristian Grothoff <christian@grothoff.org>2022-07-07 20:29:24 +0200
commit3abeb45550e1cbf4939583c9b6ff48335fe6f1a9 (patch)
treea653991a417cc0a683a95d3b61c67e26fb341486 /src/regex/regex_internal_dht.c
parent2906241b6a21d6009a0d195199f3a08e8f4d4e2a (diff)
downloadgnunet-3abeb45550e1cbf4939583c9b6ff48335fe6f1a9.tar.gz
gnunet-3abeb45550e1cbf4939583c9b6ff48335fe6f1a9.zip
implemented new DHT path signing with origin authentication
Diffstat (limited to 'src/regex/regex_internal_dht.c')
-rw-r--r--src/regex/regex_internal_dht.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/regex/regex_internal_dht.c b/src/regex/regex_internal_dht.c
index 2248de1f1..e578fba2c 100644
--- a/src/regex/regex_internal_dht.c
+++ b/src/regex/regex_internal_dht.c
@@ -372,6 +372,7 @@ regex_next_edge (const struct RegexBlock *block,
372 * 372 *
373 * @param cls Closure (search context). 373 * @param cls Closure (search context).
374 * @param exp When will this value expire. 374 * @param exp When will this value expire.
375 * @param trunc_peer truncated peer, or NULL if none was truncated
375 * @param key Key of the result. 376 * @param key Key of the result.
376 * @param get_path Path of the get request. 377 * @param get_path Path of the get request.
377 * @param get_path_length Length of get_path. 378 * @param get_path_length Length of get_path.
@@ -384,6 +385,7 @@ regex_next_edge (const struct RegexBlock *block,
384static void 385static void
385dht_get_string_accept_handler (void *cls, struct GNUNET_TIME_Absolute exp, 386dht_get_string_accept_handler (void *cls, struct GNUNET_TIME_Absolute exp,
386 const struct GNUNET_HashCode *key, 387 const struct GNUNET_HashCode *key,
388 const struct GNUNET_PeerIdentity *trunc_peer,
387 const struct GNUNET_DHT_PathElement *get_path, 389 const struct GNUNET_DHT_PathElement *get_path,
388 unsigned int get_path_length, 390 unsigned int get_path_length,
389 const struct GNUNET_DHT_PathElement *put_path, 391 const struct GNUNET_DHT_PathElement *put_path,
@@ -451,6 +453,7 @@ regex_find_path (const struct GNUNET_HashCode *key,
451 * @param cls closure (search context) 453 * @param cls closure (search context)
452 * @param exp when will this value expire 454 * @param exp when will this value expire
453 * @param key key of the result 455 * @param key key of the result
456 * @param trunc_peer NULL if not truncated
454 * @param get_path path of the get request (not used) 457 * @param get_path path of the get request (not used)
455 * @param get_path_length length of @a get_path (not used) 458 * @param get_path_length length of @a get_path (not used)
456 * @param put_path path of the put request (not used) 459 * @param put_path path of the put request (not used)
@@ -464,6 +467,7 @@ regex_find_path (const struct GNUNET_HashCode *key,
464static void 467static void
465dht_get_string_handler (void *cls, struct GNUNET_TIME_Absolute exp, 468dht_get_string_handler (void *cls, struct GNUNET_TIME_Absolute exp,
466 const struct GNUNET_HashCode *key, 469 const struct GNUNET_HashCode *key,
470 const struct GNUNET_PeerIdentity *trunc_peer,
467 const struct GNUNET_DHT_PathElement *get_path, 471 const struct GNUNET_DHT_PathElement *get_path,
468 unsigned int get_path_length, 472 unsigned int get_path_length,
469 const struct GNUNET_DHT_PathElement *put_path, 473 const struct GNUNET_DHT_PathElement *put_path,