SimGrid  3.21
Versatile Simulation of Distributed Systems
storage.h File Reference
#include <simgrid/forward.h>
#include <xbt/base.h>

Functions

const char * sg_storage_get_name (sg_storage_t storage)
 
sg_storage_t sg_storage_get_by_name (const char *name)
 
xbt_dict_t sg_storage_get_properties (sg_storage_t storage)
 
void sg_storage_set_property_value (sg_storage_t storage, const char *name, const char *value)
 
const char * sg_storage_get_property_value (sg_storage_t storage, const char *name)
 
xbt_dynar_t sg_storages_as_dynar ()
 
void sg_storage_set_data (sg_storage_t host, void *data)
 
void * sg_storage_get_data (sg_storage_t storage)
 
const char * sg_storage_get_host (sg_storage_t storage)
 
sg_size_t sg_storage_read (sg_storage_t storage, sg_size_t size)
 
sg_size_t sg_storage_write (sg_storage_t storage, sg_size_t size)
 

Function Documentation

◆ sg_storage_get_name()

const char* sg_storage_get_name ( sg_storage_t  storage)

◆ sg_storage_get_by_name()

sg_storage_t sg_storage_get_by_name ( const char *  name)

◆ sg_storage_get_properties()

xbt_dict_t sg_storage_get_properties ( sg_storage_t  storage)

◆ sg_storage_set_property_value()

void sg_storage_set_property_value ( sg_storage_t  storage,
const char *  name,
const char *  value 
)

◆ sg_storage_get_property_value()

const char* sg_storage_get_property_value ( sg_storage_t  storage,
const char *  name 
)

◆ sg_storages_as_dynar()

xbt_dynar_t sg_storages_as_dynar ( )

◆ sg_storage_set_data()

void sg_storage_set_data ( sg_storage_t  host,
void *  data 
)

◆ sg_storage_get_data()

void* sg_storage_get_data ( sg_storage_t  storage)

◆ sg_storage_get_host()

const char* sg_storage_get_host ( sg_storage_t  storage)

◆ sg_storage_read()

sg_size_t sg_storage_read ( sg_storage_t  storage,
sg_size_t  size 
)

◆ sg_storage_write()

sg_size_t sg_storage_write ( sg_storage_t  storage,
sg_size_t  size 
)