#include <xbt/Extendable.hpp>
#include <simgrid/s4u/host.hpp>
-#include "src/surf/HostImplem.hpp"
+#include "src/surf/HostImpl.hpp"
#include "surf/surf.h" // routing_get_network_element_type FIXME:killme
#include "src/simix/smx_private.hpp"
__MSG_host_priv_free((msg_host_priv_t) p);
});
- ROUTING_HOST_LEVEL = simgrid::s4u::Host::extension_create([](void *p) {
- delete static_cast<simgrid::surf::NetCard*>(p);
- });
-
SIMIX_HOST_LEVEL = simgrid::s4u::Host::extension_create(SIMIX_host_destroy);
USER_HOST_LEVEL = simgrid::s4u::Host::extension_create(NULL);
}
// ========= storage related functions ============
xbt_dict_t sg_host_get_mounted_storage_list(sg_host_t host){
- return host->extension<simgrid::surf::HostImplem>()->getMountedStorageList();
+ return host->extension<simgrid::surf::HostImpl>()->getMountedStorageList();
}
xbt_dynar_t sg_host_get_attached_storage_list(sg_host_t host){
- return host->extension<simgrid::surf::HostImplem>()->getAttachedStorageList();
+ return host->extension<simgrid::surf::HostImpl>()->getAttachedStorageList();
}