XBT_PUBLIC const char* sg_file_get_name(const_sg_file_t fd);
XBT_PUBLIC sg_size_t sg_file_get_size(const_sg_file_t fd);
-XBT_PUBLIC void sg_file_dump(sg_file_t fd);
+XBT_PUBLIC void sg_file_dump(const_sg_file_t fd);
XBT_PUBLIC void* sg_file_get_data(const_sg_file_t fd);
XBT_PUBLIC void sg_file_set_data(sg_file_t fd, void* data);
XBT_PUBLIC void sg_file_seek(sg_file_t fd, sg_offset_t offset, int origin);
/** Rename a file. WARNING: It is forbidden to move the file to another mount point */
void move(const std::string& fullpath) const;
- int remote_copy(sg_host_t host, const char* fullpath);
- int remote_move(sg_host_t host, const char* fullpath);
+ int remote_copy(sg_host_t host, const std::string& fullpath);
+ int remote_move(sg_host_t host, const std::string& fullpath);
int unlink() const; /** Remove a file from the contents of a disk */
void dump() const;