A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
guess what? more refactoring!
[simgrid.git]
/
examples
/
msg
/
chainsend
/
common.h
diff --git
a/examples/msg/chainsend/common.h
b/examples/msg/chainsend/common.h
index eaf2de159b239bf6312ce50cfe6c233c81eca3b5..1d1f8c48d889c91e8ae0a8e79bfa84c8454324a5 100644
(file)
--- a/
examples/msg/chainsend/common.h
+++ b/
examples/msg/chainsend/common.h
@@
-1,17
+1,20
@@
-#ifndef KADEPLOY_COMMON_H
-#define KADEPLOY_COMMON_H
+/* Copyright (c) 2012-2015. The SimGrid Team.
+ * All rights reserved. */
-#include "msg/msg.h"
+/* 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 COMMON_H
+#define COMMON_H
+
+#include "simgrid/msg.h"
#include "xbt/sysdep.h"
#include "xbt/sysdep.h"
-static
XBT_INLINE
void queue_pending_connection(msg_comm_t comm, xbt_dynar_t q)
+static
inline
void queue_pending_connection(msg_comm_t comm, xbt_dynar_t q)
{
xbt_dynar_push(q, &comm);
}
int process_pending_connections(xbt_dynar_t q);
{
xbt_dynar_push(q, &comm);
}
int process_pending_connections(xbt_dynar_t q);
-#define MESSAGE_SIZE 1
-#define HOSTNAME_LENGTH 20
-
-#endif /* KADEPLOY_COMMON_H */
+#endif /* COMMON_H */