Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix destroy() of vm_ws
[simgrid.git] / src / include / surf / surf.h
index a7b45bf0026c6ae79494b09b1e646b555f8241c3..3749e61bd41e420d62e7ca959c4de49e41feac73 100644 (file)
@@ -282,7 +282,7 @@ typedef struct surf_vm_workstation_model_extension_public {
   // start does not appear here as it corresponds to turn the state from created to running (see smx_vm.c)
   int (*get_state) (void *workstation);
   void (*set_state) (void *workstation, int state);
-  void  (*destroy) (const char *name); // destory the vm-specific data
+  void (*destroy) (smx_host_t *host); // destory the vm-specific data
 } s_surf_model_extension_vm_workstation_t;
 
 /** \ingroup SURF_models