From e9e9edad500ddf3967b577ca018ae9f5567bc1d8 Mon Sep 17 00:00:00 2001 From: suter Date: Wed, 10 Jul 2013 14:19:26 +0200 Subject: [PATCH] add content type to storage structure describe the info to bring up to MSG --- src/surf/storage_private.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/surf/storage_private.h b/src/surf/storage_private.h index 9979e033f7..8f8aad96b3 100644 --- a/src/surf/storage_private.h +++ b/src/surf/storage_private.h @@ -22,10 +22,18 @@ typedef struct s_mount { char *name; } s_mount_t, *mount_t; +typedef struct s_file_info { + size_t size; + char* mount_point; + char* storageId; + char* content_type; +} s_file_info_t, *surf_file_info_t; + typedef struct surf_file { char *name; char *mount; size_t size; + surf_file_info_t info; } s_surf_file_t; typedef struct surf_storage { @@ -35,6 +43,7 @@ typedef struct surf_storage { lmm_constraint_t constraint_write; /* Constraint for maximum write bandwidth*/ lmm_constraint_t constraint_read; /* Constraint for maximum write bandwidth*/ xbt_dict_t content; /* char * -> s_surf_file_t */ + char* content_type; size_t size; size_t used_size; char *type_id; -- 2.20.1