X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b87fc0829538ec066fd077e6c30ee6270b8abd78..ae445ab5a97e0d537feb8ee9a9d49a75270cf70d:/teshsuite/msg/app-bittorrent/tracker.h diff --git a/teshsuite/msg/app-bittorrent/tracker.h b/teshsuite/msg/app-bittorrent/tracker.h index f00e71ff76..89751214fe 100644 --- a/teshsuite/msg/app-bittorrent/tracker.h +++ b/teshsuite/msg/app-bittorrent/tracker.h @@ -1,11 +1,11 @@ -/* Copyright (c) 2012-2014. The SimGrid Team. +/* Copyright (c) 2012-2020. 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 BITTORRENT_TRACKER_H_ -#define BITTORRENT_TRACKER_H_ +#ifndef BITTORRENT_TRACKER_H +#define BITTORRENT_TRACKER_H #include "bittorrent.h" #include /** @@ -38,5 +38,5 @@ tracker_task_data_t tracker_task_data_new(const char* issuer_host_name, const ch int downloaded, int left); void tracker_task_data_free(tracker_task_data_t task); -int is_in_list(xbt_dynar_t peers, int id); +int is_in_list(const_xbt_dynar_t peers, int id); #endif /* BITTORRENT_TRACKER_H */