Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge pull request #2 from mquinson/master
[simgrid.git] / examples / msg / kademlia / kademlia.h
index 142a7c0..b0990ac 100644 (file)
@@ -1,9 +1,9 @@
-
-/* Copyright (c) 2012. The SimGrid Team.
+/* Copyright (c) 2012, 2014, 2016. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
+
 #ifndef _MSG_EXAMPLES_KADEMLIA_H
 #define _MSG_EXAMPLES_KADEMLIA_H
 #include "node.h"
@@ -11,8 +11,7 @@
 
 //core kademlia functions
 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);
+unsigned int find_node(node_t node, unsigned int id_to_find, unsigned int count_in_stats);
 unsigned int ping(node_t node, unsigned int id_to_ping);
 void random_lookup(node_t node);
 
@@ -23,5 +22,4 @@ void handle_task(node_t node, msg_task_t task);
 void handle_find_node(node_t node, task_data_t data);
 void handle_ping(node_t node, task_data_t data);
 
-
 #endif                          /* _MSG_EXAMPLES_KADEMLIA_H */