/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
fd->storage_type = xbt_dynar_pop_as(info, char*);
fd->storageId = xbt_dynar_pop_as(info, char*);
fd->mount_point = xbt_dynar_pop_as(info, char*);
fd->storage_type = xbt_dynar_pop_as(info, char*);
fd->storageId = xbt_dynar_pop_as(info, char*);
fd->mount_point = xbt_dynar_pop_as(info, char*);
priv->file_descriptor_table = new std::vector<int>(sg_storage_max_file_descriptors);
std::iota(priv->file_descriptor_table->rbegin(), priv->file_descriptor_table->rend(), 0); // Fill with ..., 1, 0.
}
priv->file_descriptor_table = new std::vector<int>(sg_storage_max_file_descriptors);
std::iota(priv->file_descriptor_table->rbegin(), priv->file_descriptor_table->rend(), 0); // Fill with ..., 1, 0.
}
- fd->fullpath, fd->size, fd->mount_point, fd->storageId, fd->storage_type, fd->content_type, fd->desc_id);
+ fd->fullpath, fd->size, fd->mount_point, fd->storageId, fd->storage_type, fd->desc_id);
strncpy(file_mount_name, fullpath, strlen(mount_name) + 1);
file_mount_name[strlen(mount_name)] = '\0';
strncpy(file_mount_name, fullpath, strlen(mount_name) + 1);
file_mount_name[strlen(mount_name)] = '\0';
/* The current mount name is found in the full path and is bigger than the previous*/
longest_prefix_length = strlen(mount_name);
storage_dest = (msg_storage_t)xbt_lib_get_elm_or_null(storage_lib, storage_name);
/* The current mount name is found in the full path and is bigger than the previous*/
longest_prefix_length = strlen(mount_name);
storage_dest = (msg_storage_t)xbt_lib_get_elm_or_null(storage_lib, storage_name);