X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9e66dd72aafe17f731081ba7023875fef091a249..5e524e9804b45a5c8150af940486cca4c8f4d035:/examples/c/app-bittorrent/tracker.h diff --git a/examples/c/app-bittorrent/tracker.h b/examples/c/app-bittorrent/tracker.h index f285236e3f..663f9ed91e 100644 --- a/examples/c/app-bittorrent/tracker.h +++ b/examples/c/app-bittorrent/tracker.h @@ -10,13 +10,7 @@ #include void tracker(int argc, char* argv[]); -/** - * Task types exchanged between a node and the tracker - */ -typedef enum { TRACKER_TASK_QUERY, TRACKER_TASK_ANSWER } e_tracker_task_type_t; -/** - * Tasks exchanged between a tracker and peers. - */ +/** Tasks exchanged between a tracker and peers. */ typedef struct s_tracker_query { int peer_id; // peer id sg_mailbox_t return_mailbox; // mailbox where the tracker should answer