Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Allow users to attach arbitrary data to opened files
[simgrid.git] / src / simix / smx_private.h
index 1130ff9..ef74169 100644 (file)
@@ -73,8 +73,14 @@ extern xbt_dict_t watched_hosts_lib;
 /* ******************************** File ************************************ */
 typedef struct s_smx_file {
   surf_file_t surf_file;
+  void* data;                   /**< @brief user data */
 } s_smx_file_t;
 
+/* ******************************** Storage ************************************ */
+typedef struct s_smx_storage {
+  surf_storage_t surf_storage;
+} s_smx_storage_t;
+
 /*********************************** Time ************************************/
 
 /** @brief Timer datatype */