#include "surf.hpp"
#include "storage.hpp"
-#include "cpu.hpp"
-#include "network.hpp"
+#include "cpu_interface.hpp"
+#include "network_interface.hpp"
#ifndef WORKSTATION_HPP_
#define WORKSTATION_HPP_
class WorkstationAction;
typedef WorkstationAction *WorkstationActionPtr;
-/*FIXME:class WorkstationActionLmm;
-typedef WorkstationActionLmm *WorkstationActionLmmPtr;*/
+class WorkstationActionLmm;
+typedef WorkstationActionLmm *WorkstationActionLmmPtr;
/*********
* Tools *
ActionPtr read(surf_file_t fd, sg_size_t size);
ActionPtr write(surf_file_t fd, sg_size_t size);
xbt_dynar_t getInfo( surf_file_t fd);
+ sg_size_t fileTell(surf_file_t fd);
sg_size_t getFreeSize(const char* name);
sg_size_t getUsedSize(const char* name);
+ int fileSeek(surf_file_t fd, sg_size_t offset, int origin);
bool isUsed();
//bool isShared();
xbt_dynar_t p_storage;
RoutingEdgePtr p_netElm;
CpuPtr p_cpu;
- NetworkCm02LinkPtr p_network;
+ NetworkLinkPtr p_network;
xbt_dynar_t getVms();