X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f3b7e5f4b4d7c87ee3e8827313ec966ea8fc8387..5edec65e26d76490b9753d8db950a8a2ddf3cb2c:/examples/c/dht-kademlia/node.h diff --git a/examples/c/dht-kademlia/node.h b/examples/c/dht-kademlia/node.h index 957c3fb7e9..d545cbe477 100644 --- a/examples/c/dht-kademlia/node.h +++ b/examples/c/dht-kademlia/node.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2020. 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);