X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5f389553c3b6a2070fca0562c8143ff0b143ab52..7dc01ca1e4dcb01739599d8eb8268629804d5051:/examples/msg/app-bittorrent/connection.h diff --git a/examples/msg/app-bittorrent/connection.h b/examples/msg/app-bittorrent/connection.h index 0bfcde0d95..30e6ba4774 100644 --- a/examples/msg/app-bittorrent/connection.h +++ b/examples/msg/app-bittorrent/connection.h @@ -20,7 +20,9 @@ typedef struct s_connection { unsigned int interested:1; //Indicates if the peer is interested in one of our pieces unsigned int choked_upload:1; //Indicates if the peer is choked for the current peer unsigned int choked_download:1; //Indicates if the peer has choked the current peer -} s_connection_t, *connection_t; +} s_connection_t; + +typedef s_connection_t *connection_t; /** @brief Build a new connection object from the peer id. * @param id id of the peer