Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
get rid of "mode" parameter in the open file function. It wasn't used
[simgrid.git] / include / msg / msg.h
index 9a5aa26c8e4139b7c06b7caa6f28a066f69beb01..3a342b76e72cb80c746e2b7afd99710cdbbd9c22 100644 (file)
@@ -73,8 +73,9 @@ XBT_PUBLIC(unsigned long int) MSG_get_sent_msg(void);
 /************************** File handling ***********************************/
 XBT_PUBLIC(size_t) MSG_file_read(void* ptr, size_t size, size_t nmemb, msg_file_t stream);
 XBT_PUBLIC(size_t) MSG_file_write(const void* ptr, size_t size, size_t nmemb, msg_file_t stream);
-XBT_PUBLIC(msg_file_t) MSG_file_open(const char* mount, const char* path, const char* mode);
-XBT_PUBLIC(int) MSG_file_close(msg_file_t fp);
+XBT_PUBLIC(msg_file_t) MSG_file_open(const char* mount, const char* path);
+XBT_PUBLIC(int) MSG_file_close(msg_file_t fd);
+XBT_PUBLIC(size_t) MSG_file_get_size(msg_file_t fd);
 
 XBT_PUBLIC(int) MSG_file_unlink(msg_file_t fd);
 XBT_PUBLIC(xbt_dict_t) MSG_file_ls(const char *mount, const char *path);