Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
another try at cleanly unlocking the mutexes before destroying them in SMPI::RMA
[simgrid.git] / examples / c / dht-kademlia / node.h
index 6435b39f1589c04acf78ceb447fb89bf0d303ac3..d545cbe47786c31968331ba057c247c699c94b43 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2021. The SimGrid Team.
+/* Copyright (c) 2012-2023. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -60,6 +60,7 @@ node_contact_t node_contact_new(unsigned int id, unsigned int distance);
 node_contact_t node_contact_copy(const_node_contact_t node_contact);
 void node_contact_free(node_contact_t contact);
 
+kademlia_message_t receive(node_t node, sg_mailbox_t mailbox);
 unsigned int join(node_t node, unsigned int id_known);
 unsigned int find_node(node_t node, unsigned int id_to_find, unsigned int count_in_stats);
 void random_lookup(node_t node);