Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add more tests in msg-suspend.
[simgrid.git] / examples / msg / kademlia / answer.h
index 2e9f585..24902dd 100644 (file)
@@ -1,8 +1,9 @@
-/* Copyright (c) 2012. The SimGrid Team.
+/* Copyright (c) 2012, 2014. 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 _KADEMLIA_EXAMPLES_ANSWER_H_
 #define _KADEMLIA_EXAMPLES_ANSWER_H_
 #include <xbt/dynar.h>
@@ -12,8 +13,8 @@
  * to the id given.
  */
 typedef struct s_node_answer {
-    unsigned int destination_id;
-  xbt_dynar_t nodes; //Dynar of node_contact_t
+  unsigned int destination_id;
+  xbt_dynar_t nodes;            //Dynar of node_contact_t
   unsigned int size;
 } s_answer_t, *answer_t;
 
@@ -29,4 +30,4 @@ void answer_add_bucket(bucket_t bucket, answer_t answer);
 unsigned int answer_contains(answer_t answer, unsigned int id);
 unsigned int answer_destination_found(answer_t answer);
 
-#endif /* _KADEMLIA_EXAMPLES_ANSWER_H_ */
+#endif                          /* _KADEMLIA_EXAMPLES_ANSWER_H_ */