|
typedef xbt_dictelm_t | msg_storage_t |
| Storage datatype.You should consider this as an opaque object.
|
|
(
msg_storage_t) and the functions for managing it.
Returns the name of the msg_storage_t.
This functions checks whether a storage is a valid pointer or not and return its name.
sg_storage_size_t MSG_storage_get_free_size |
( |
const char * |
name) | |
|
Returns the free space size of a storage element.
- Parameters
-
name | the name of a storage |
- Returns
- the free space size of the storage element (as a sg_storage_size_t)
sg_storage_size_t MSG_storage_get_used_size |
( |
const char * |
name) | |
|
Returns the used space size of a storage element.
- Parameters
-
name | the name of a storage |
- Returns
- the used space size of the storage element (as a sg_storage_size_t)
Returns a xbt_dict_t consisting of the list of properties assigned to this storage.
- Parameters
-
- Returns
- a dict containing the properties
void MSG_storage_set_property_value |
( |
msg_storage_t |
storage, |
|
|
const char * |
name, |
|
|
char * |
value, |
|
|
void_f_pvoid_t |
free_ctn |
|
) |
| |
Change the value of a given storage property.
- Parameters
-
storage | a storage |
name | a property name |
value | what to change the property to |
free_ctn | the freeing function to use to kill the value on need |
Finds a msg_storage_t using its name.
- Parameters
-
name | the name of a storage |
- Returns
- the corresponding storage
Returns the content (file list) of a msg_storage_t.
- Parameters
-
- Returns
- The content of this storage element as a dict (full path file => size)