X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7d961518f975f0bf546ef326331f5df5f8807417..14ba790d497ea0a9253212dc67d6ae51cd2b057e:/examples/msg/chainsend/common.h diff --git a/examples/msg/chainsend/common.h b/examples/msg/chainsend/common.h index 012bde7284..8b0249d3d0 100644 --- a/examples/msg/chainsend/common.h +++ b/examples/msg/chainsend/common.h @@ -1,7 +1,13 @@ +/* Copyright (c) 2012-2015. 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 KADEPLOY_COMMON_H #define KADEPLOY_COMMON_H -#include "msg/msg.h" +#include "simgrid/msg.h" #include "xbt/sysdep.h" static XBT_INLINE void queue_pending_connection(msg_comm_t comm, xbt_dynar_t q) @@ -9,7 +15,6 @@ static XBT_INLINE void queue_pending_connection(msg_comm_t comm, xbt_dynar_t q) xbt_dynar_push(q, &comm); } -#define MESSAGE_SIZE 1 -#define HOSTNAME_LENGTH 20 +int process_pending_connections(xbt_dynar_t q); #endif /* KADEPLOY_COMMON_H */