X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5f389553c3b6a2070fca0562c8143ff0b143ab52..7dc01ca1e4dcb01739599d8eb8268629804d5051:/examples/msg/dht-kademlia/task.h diff --git a/examples/msg/dht-kademlia/task.h b/examples/msg/dht-kademlia/task.h index a7cd143d91..cca5e2928b 100644 --- a/examples/msg/dht-kademlia/task.h +++ b/examples/msg/dht-kademlia/task.h @@ -29,7 +29,9 @@ typedef struct s_task_data { answer_t answer; //Answer to the request made, if needed. char *answer_to; // mailbox to send the answer to (if not an answer). const char *issuer_host_name; // used for logging -} s_task_data_t, *task_data_t; +} s_task_data_t; + +typedef s_task_data_t *task_data_t; //Task handling functions msg_task_t task_new_find_node(unsigned int sender_id, unsigned int destination_id, char *mailbox, const char *hostname);