X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1e21355c3e1b7abfd7457f8607b55162ce1819e9..b9f7679a9cc888f0beedd88cf066c1d87ecb5191:/src/include/surf/surf.h diff --git a/src/include/surf/surf.h b/src/include/surf/surf.h index d4d9730dea..8ddd7fbc12 100644 --- a/src/include/surf/surf.h +++ b/src/include/surf/surf.h @@ -282,6 +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 } s_surf_model_extension_vm_workstation_t; /** \ingroup SURF_models