Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
the name field of a msg_file_t is actually a full name (including path),
[simgrid.git] / include / msg / datatypes.h
index 1e456ee..91310e9 100644 (file)
@@ -26,6 +26,8 @@ SG_BEGIN_DECL()
  * want to send your task, but only the name of this mailbox. */
 typedef struct s_smx_rvpoint *msg_mailbox_t;
 
+/* ******************************** Environment ************************************ */
+typedef struct s_as *msg_as_t;
 
 /* ******************************** Host ************************************ */
 
@@ -101,9 +103,8 @@ typedef struct msg_vm {
 typedef struct simdata_file *simdata_file_t;
 
 typedef struct msg_file {
-  char *name;                   /**< @brief file name */
-  size_t size;
-  simdata_file_t simdata;                /**< @brief simulator data  */
+  char *fullname;               /**< @brief file full name (path+name)*/
+  simdata_file_t simdata;       /**< @brief simulator data  */
   void *data;                   /**< @brief user data */
 } s_msg_file_t;