X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ccc3b6ac54d65bf59be965f90ea657deea9bafa8..455435b8a7cc8d84037aa66104a73d4760d9666f:/include/simgrid/forward.h diff --git a/include/simgrid/forward.h b/include/simgrid/forward.h index df24a155dd..054ce67c99 100644 --- a/include/simgrid/forward.h +++ b/include/simgrid/forward.h @@ -25,10 +25,14 @@ namespace simgrid { class NetCard; } } + namespace simix { + class Host; + } namespace surf { class Resource; class Cpu; class Link; + class HostImpl; } namespace trace_mgr { class trace; @@ -45,6 +49,9 @@ typedef simgrid::surf::Link Link; typedef simgrid::surf::Resource surf_Resource; typedef simgrid::trace_mgr::trace tmgr_Trace; +typedef simgrid::simix::Host *smx_host_priv_t; + + #else typedef struct simgrid_As simgrid_As; @@ -55,6 +62,8 @@ typedef struct routing_NetCard routing_NetCard; typedef struct surf_Resource surf_Resource; typedef struct Link Link; typedef struct Trace tmgr_Trace; + +typedef struct simix_Host *smx_host_priv_t; #endif typedef simgrid_As *AS_t;