-
-/* 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 _MSG_EXAMPLES_KADEMLIA_H
#define _MSG_EXAMPLES_KADEMLIA_H
#include "node.h"
#include "task.h"
-//process functions
-static int node(int argc, char *argv[]);
-static void main_loop(node_t node, double deadline);
+
//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,