X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/47ac9cef9d5cf9ccf4739355db1e0bb3d90dda33..e51ea751d20f2437b9b350a3bab1db3c257fb54f:/src/simix/smx_smurf_private.h diff --git a/src/simix/smx_smurf_private.h b/src/simix/smx_smurf_private.h index 4552149c91..a0888c152f 100644 --- a/src/simix/smx_smurf_private.h +++ b/src/simix/smx_smurf_private.h @@ -508,6 +508,7 @@ typedef struct s_smx_simcall { } sem_get_capacity; struct { + const char* storage; void *ptr; size_t size; size_t nmemb; @@ -516,6 +517,7 @@ typedef struct s_smx_simcall { } file_read; struct { + const char* storage; const void *ptr; size_t size; size_t nmemb; @@ -524,20 +526,22 @@ typedef struct s_smx_simcall { } file_write; struct { + const char* storage; const char* path; const char* mode; smx_file_t result; } file_open; struct { + const char* storage; smx_file_t fp; int result; } file_close; struct { - int fd; - //Next should be struct stat* buf - void* buf; + const char* storage; + smx_file_t fd; + s_file_stat_t buf; int result; } file_stat; @@ -550,7 +554,7 @@ void SIMIX_simcall_push(smx_process_t self); void SIMIX_simcall_answer(smx_simcall_t); void SIMIX_simcall_pre(smx_simcall_t, int); void SIMIX_simcall_post(smx_action_t); -XBT_INLINE smx_simcall_t SIMIX_simcall_mine(void); +smx_simcall_t SIMIX_simcall_mine(void); const char *SIMIX_simcall_name(e_smx_simcall_t kind); #endif