-#ifndef KADEPLOY_PEER_H
-#define KADEPLOY_PEER_H
+/* Copyright (c) 2012-2015. The SimGrid Team.
+ * All rights reserved. */
-#include "msg/msg.h"
-#include "xbt/sysdep.h"
+/* 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 PEER_H
+#define PEER_H
+
+#include "simgrid/msg.h"
+#include "xbt/dynar.h"
#include "messages.h"
#include "common.h"
/* Peer struct */
typedef struct s_peer {
int init;
- const char *prev;
- const char *next;
+ char *prev;
+ char *next;
char *me;
int pieces;
unsigned long long bytes;
int peer(int argc, char *argv[]);
-#endif /* KADEPLOY_PEER_H */
+#endif /* PEER_H */