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
disable a broken test, and cleanups
[simgrid.git]
/
include
/
simgrid
/
platf.h
diff --git
a/include/simgrid/platf.h
b/include/simgrid/platf.h
index
580cb27
..
c974566
100644
(file)
--- a/
include/simgrid/platf.h
+++ b/
include/simgrid/platf.h
@@
-1,6
+1,6
@@
/* platf.h - Public interface to the SimGrid platforms */
/* platf.h - Public interface to the SimGrid platforms */
-/* Copyright (c) 2004-201
4
. The SimGrid Team.
+/* Copyright (c) 2004-201
5
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-10,11
+10,12
@@
#define SG_PLATF_H
#include <xbt.h>
#define SG_PLATF_H
#include <xbt.h>
+#include <simgrid/host.h>
SG_BEGIN_DECL()
typedef void *sg_routing_link_t; /* FIXME:The actual type is model-dependent so use void* instead*/
SG_BEGIN_DECL()
typedef void *sg_routing_link_t; /* FIXME:The actual type is model-dependent so use void* instead*/
-typedef
struct
RoutingEdge *sg_routing_edge_t;
+typedef RoutingEdge *sg_routing_edge_t;
XBT_PUBLIC(sg_routing_edge_t) sg_routing_edge_by_name_or_null(const char *name);
XBT_PUBLIC(sg_routing_edge_t) sg_routing_edge_by_name_or_null(const char *name);
@@
-81,7
+82,6
@@
XBT_PUBLIC(probabilist_event_generator_t) tmgr_event_generator_new_weibull(const
double scale,
double shape);
double scale,
double shape);
-typedef xbt_dictelm_t sg_host_t;
static inline char* sg_host_name(sg_host_t host) {
return host->key;
}
static inline char* sg_host_name(sg_host_t host) {
return host->key;
}