X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/295d4bb2d007a034d9fbb67e6d15255f68ab75a6..183a6118a95c570b0c66695505dab7dbebc0c7b3:/include/simgrid/simix.h diff --git a/include/simgrid/simix.h b/include/simgrid/simix.h index aa8e48440a..6c74149d4a 100644 --- a/include/simgrid/simix.h +++ b/include/simgrid/simix.h @@ -248,6 +248,7 @@ XBT_PUBLIC(void) simcall_execution_set_bound(smx_activity_t execution, double bo XBT_PUBLIC(e_smx_state_t) simcall_execution_wait(smx_activity_t execution); /**************************** Process simcalls ********************************/ +SG_BEGIN_DECL() /* Constructor and Destructor */ XBT_PUBLIC(smx_actor_t) simcall_process_create(const char* name, xbt_main_func_t code, void* data, sg_host_t host, int argc, char** argv, @@ -277,6 +278,7 @@ XBT_PUBLIC(smx_actor_t) simcall_process_restart(smx_actor_t process); XBT_PUBLIC(void) simcall_process_join(smx_actor_t process, double timeout); /* Sleep control */ XBT_PUBLIC(e_smx_state_t) simcall_process_sleep(double duration); +SG_END_DECL() /************************** Comunication simcalls *****************************/ @@ -351,11 +353,10 @@ XBT_PUBLIC(void *) simcall_file_get_data(smx_file_t fd); XBT_PUBLIC(void) simcall_file_set_data(smx_file_t fd, void *data); XBT_PUBLIC(sg_size_t) simcall_file_read(smx_file_t fd, sg_size_t size, sg_host_t host); XBT_PUBLIC(sg_size_t) simcall_file_write(smx_file_t fd, sg_size_t size, sg_host_t host); -XBT_PUBLIC(smx_file_t) simcall_file_open(const char* fullpath, sg_host_t host); +XBT_PUBLIC(smx_file_t) simcall_file_open(const char* mount, const char* path, sg_storage_t st); XBT_PUBLIC(int) simcall_file_close(smx_file_t fd, sg_host_t host); XBT_PUBLIC(int) simcall_file_unlink(smx_file_t fd, sg_host_t host); XBT_PUBLIC(sg_size_t) simcall_file_get_size(smx_file_t fd); -XBT_PUBLIC(xbt_dynar_t) simcall_file_get_info(smx_file_t fd); XBT_PUBLIC(sg_size_t) simcall_file_tell(smx_file_t fd); XBT_PUBLIC(int) simcall_file_seek(smx_file_t fd, sg_offset_t offset, int origin); XBT_PUBLIC(int) simcall_file_move(smx_file_t fd, const char* fullpath);