Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Small fixes in type names.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Tue, 1 Oct 2013 21:06:27 +0000 (23:06 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Tue, 1 Oct 2013 21:44:00 +0000 (23:44 +0200)
include/msg/datatypes.h
src/msg/msg_io.c

index 00b7c8f..efee4e6 100644 (file)
@@ -103,13 +103,13 @@ typedef struct msg_vm {
 /* ******************************** File ************************************ */
 typedef struct simdata_file *simdata_file_t;
 
 /* ******************************** File ************************************ */
 typedef struct simdata_file *simdata_file_t;
 
-typedef struct s_file_info {
+typedef struct s_msg_file_info {
   sg_storage_size_t size;
   char* mount_point;
   char* storageId;
   char* storage_type;
   char* content_type;
   sg_storage_size_t size;
   char* mount_point;
   char* storageId;
   char* storage_type;
   char* content_type;
-} s_file_info_t, *msg_file_info_t;
+} s_msg_file_info_t, *msg_file_info_t;
 
 typedef struct msg_file {
   char *fullname;               /**< @brief file full name (path+name)*/
 
 typedef struct msg_file {
   char *fullname;               /**< @brief file full name (path+name)*/
index a480212..52da4cc 100644 (file)
@@ -110,7 +110,7 @@ msg_file_t MSG_file_open(const char* mount, const char* fullname, void* data)
   msg_file_t file = xbt_new(s_msg_file_t,1);
   file->fullname = xbt_strdup(fullname);
   file->simdata = xbt_new0(s_simdata_file_t,1);
   msg_file_t file = xbt_new(s_msg_file_t,1);
   file->fullname = xbt_strdup(fullname);
   file->simdata = xbt_new0(s_simdata_file_t,1);
-  file->info = xbt_new0(s_file_info_t,1);
+  file->info = xbt_new0(s_msg_file_info_t,1);
   file->simdata->smx_file = simcall_file_open(mount, fullname);
   SIMIX_file_set_data(file->simdata->smx_file, data);
   return file;
   file->simdata->smx_file = simcall_file_open(mount, fullname);
   SIMIX_file_set_data(file->simdata->smx_file, data);
   return file;