Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines.
[simgrid.git] / examples / c / app-bittorrent / tracker.h
index 663f9ed..21ea895 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2020. The SimGrid Team.
+/* Copyright (c) 2012-2021. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -22,6 +22,7 @@ typedef struct s_tracker_answer {
   xbt_dynar_t peers; // the peer list the peer has asked for.
 } s_tracker_answer_t;
 typedef s_tracker_answer_t* tracker_answer_t;
+typedef const s_tracker_answer_t* const_tracker_answer_t;
 
 tracker_query_t tracker_query_new(int peer_id, sg_mailbox_t return_mailbox);
 tracker_answer_t tracker_answer_new(int interval);