X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9e6224ecd95ff7b6452fe9b2c088138877797542..b2c017d4b4d344a6d44abf79fb0dcd457ec1857c:/include/simgrid/simix.h diff --git a/include/simgrid/simix.h b/include/simgrid/simix.h index 5ac6e2c2ef..2f51412d99 100644 --- a/include/simgrid/simix.h +++ b/include/simgrid/simix.h @@ -70,6 +70,9 @@ typedef struct s_smx_sem *smx_sem_t; /********************************** File *************************************/ typedef struct s_smx_file *smx_file_t; +/********************************** Storage *************************************/ +typedef struct s_smx_storage *smx_storage_t; + /********************************** Action *************************************/ typedef struct s_smx_action *smx_action_t; /* FIXME: replace by specialized action handlers */ @@ -469,6 +472,7 @@ XBT_PUBLIC(void) simcall_sem_acquire_timeout(smx_sem_t sem, double max_duration); XBT_PUBLIC(int) simcall_sem_get_capacity(smx_sem_t sem); +/***************************** File **********************************/ XBT_PUBLIC(size_t) simcall_file_read(size_t size, smx_file_t fd); XBT_PUBLIC(size_t) simcall_file_write(size_t size, smx_file_t fd); XBT_PUBLIC(smx_file_t) simcall_file_open(const char* storage, const char* path);