X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/53b6a451a45d9d6465c9dbad3f29d3f1a55ca238..37d3feec77dbbee15fd81cac77b96e535db70292:/src/simix/simcalls.in diff --git a/src/simix/simcalls.in b/src/simix/simcalls.in index 874b0bbb47..f22c4447a7 100644 --- a/src/simix/simcalls.in +++ b/src/simix/simcalls.in @@ -1,3 +1,9 @@ +# Copyright (c) 2014. The SimGrid Team. +# All rights reserved. + +# This program is free software; you can redistribute it and/or modify it +# under the terms of the license (GNU LGPL) which comes with this package. + # name has_answer (restype,rescast) (arg0name,arg0type,arg0cast) (arg1name,arg1type,arg1cast) host_get_by_name True (void*, smx_host_t) (name, const char*) host_get_name True (const char*) (host, void*, smx_host_t) @@ -9,8 +15,6 @@ host_get_process_list True (void*, xbt_swag_t) (host, void*, smx_host_t) host_get_speed True (double) (host, void*, smx_host_t) host_get_available_speed True (double) (host, void*, smx_host_t) host_get_state True (int) (host, void*, smx_host_t) -host_get_data True (void*) (host, void*, smx_host_t) -host_set_data True (void) (host, void*, smx_host_t) (data, void*) host_get_current_power_peak True (double) (host, void*, smx_host_t) host_get_power_peak_at True (double) (host, void*, smx_host_t) (pstate_index, int) host_get_nb_pstates True (int) (host, void*, smx_host_t) @@ -26,12 +30,12 @@ host_execution_set_priority True (void) (execution, void*, smx_action_t) (priori host_execution_set_bound True (void) (execution, void*, smx_action_t) (bound, double) host_execution_set_affinity True (void) (execution, void*, smx_action_t) (ws, void*, smx_host_t) (mask, unsigned long) host_execution_wait False (int) (execution, void*, smx_action_t) -host_get_storage_list True (void*, xbt_dict_t) (host, void*, smx_host_t) +host_get_mounted_storage_list True (void*, xbt_dict_t) (host, void*, smx_host_t) +host_get_attached_storage_list True (void*, xbt_dynar_t) (host, void*, smx_host_t) host_get_params True (void) (ind_vm, void*, smx_host_t) (params, void*, ws_params_t) host_set_params True (void) (ind_vm, void*, smx_host_t) (params, void*, ws_params_t) vm_create True (void*) (name, const char*) (ind_pm, void*, smx_host_t) vm_start True (void) (ind_vm, void*, smx_host_t) -vm_set_state True (void) (ind_vm, void*, smx_host_t) (state, int) vm_get_state True (int) (ind_vm, void*, smx_host_t) vm_migrate True (void) (ind_vm, void*, smx_host_t) (ind_dst_pm, void*, smx_host_t) vm_get_pm True (void*) (ind_vm, void*, smx_host_t) @@ -65,7 +69,7 @@ process_auto_restart_set True (void) (process, void*, smx_process_t) (auto_resta process_restart True (void*, smx_process_t) (process, void*, smx_process_t) rdv_create True (void*, smx_rdv_t) (name, const char*) rdv_destroy True (void) (rdv, void*, smx_rdv_t) -rdv_get_by_name True (void*, smx_host_t) (name, const char*) +#rdv_get_by_name True (void*, smx_host_t) (name, const char*) rdv_comm_count_by_host True (unsigned int) (rdv, void*, smx_rdv_t) (host, void*, smx_host_t) rdv_get_head True (void*, smx_action_t) (rdv, void*, smx_rdv_t) rdv_set_receiver True (void) (rdv, void*, smx_rdv_t) (receiver, void*, smx_process_t) @@ -73,11 +77,8 @@ rdv_get_receiver True (void*, smx_process_t) (rdv, void*, smx_rdv_t) comm_iprobe True (void*, smx_action_t) (rdv, void*, smx_rdv_t) (src, int) (tag, int) (match_fun, FPtr, simix_match_func_t) (data, void*) comm_send False (void) (rdv, void*, smx_rdv_t) (task_size, double) (rate, double) (src_buff, void*) (src_buff_size, size_t) (match_fun, FPtr, simix_match_func_t) (data, void*) (timeout, double) comm_isend True (void*, smx_action_t) (rdv, void*, smx_rdv_t) (task_size, double) (rate, double) (src_buff, void*) (src_buff_size, size_t) (match_fun, FPtr, simix_match_func_t) (clean_fun, FPtr, simix_clean_func_t) (data, void*) (detached, int) -comm_recv False (void) (rdv, void*, smx_rdv_t) (dst_buff, void*) (dst_buff_size, void*, size_t*) (match_fun, FPtr, simix_match_func_t) (data, void*) (timeout, double) -comm_irecv True (void*, smx_action_t) (rdv, void*, smx_rdv_t) (dst_buff, void*) (dst_buff_size, void*, size_t*) (match_fun, FPtr, simix_match_func_t) (data, void*) -comm_recv_bounded False (void) (rdv, void*, smx_rdv_t) (dst_buff, void*) (dst_buff_size, void*, size_t*) (match_fun, FPtr, simix_match_func_t) (data, void*) (timeout, double) (rate, double) -comm_irecv_bounded True (void*, smx_action_t) (rdv, void*, smx_rdv_t) (dst_buff, void*) (dst_buff_size, void*, size_t*) (match_fun, FPtr, simix_match_func_t) (data, void*) (rate, double) -comm_destroy True (void) (comm, void*, smx_action_t) +comm_recv False (void) (rdv, void*, smx_rdv_t) (dst_buff, void*) (dst_buff_size, void*, size_t*) (match_fun, FPtr, simix_match_func_t) (data, void*) (timeout, double) (rate, double) +comm_irecv True (void*, smx_action_t) (rdv, void*, smx_rdv_t) (dst_buff, void*) (dst_buff_size, void*, size_t*) (match_fun, FPtr, simix_match_func_t) (data, void*) (rate, double) comm_cancel True (void) (comm, void*, smx_action_t) comm_waitany False (int) (comms, void*, xbt_dynar_t) comm_wait False (void) (comm, void*, smx_action_t) (timeout, double) @@ -107,11 +108,9 @@ sem_would_block True (int) (sem, void*, smx_sem_t) sem_acquire False (void) (sem, void*, smx_sem_t) sem_acquire_timeout False (void) (sem, void*, smx_sem_t) (timeout, double) sem_get_capacity True (int) (sem, void*, smx_sem_t) -file_get_data True (void*) (fd, void*, smx_file_t) -file_set_data True (void) (fd, void*, smx_file_t) (data, void*) file_read False (sg_size_t) (fd, void*, smx_file_t) (size, sg_size_t) file_write False (sg_size_t) (fd, void*, smx_file_t) (size, sg_size_t) -file_open False (void*, smx_file_t) (mount, const char*) (path, const char*) +file_open False (void*, smx_file_t) (fullpath, const char*) file_close False (int) (fd, void*, smx_file_t) file_unlink True (int) (fd, void*, smx_file_t) file_ls False (void*, xbt_dict_t) (mount, const char*) (path, const char*) @@ -119,7 +118,8 @@ file_get_size True (sg_size_t) (fd, void*, smx_file_t) file_tell True (sg_size_t) (fd, void*, smx_file_t) file_seek True (int) (fd, void*, smx_file_t) (offset, sg_size_t) (origin, int) file_get_info True (void*, xbt_dynar_t) (fd, void*, smx_file_t) -storage_file_rename True (void) (storage, void*, smx_storage_t) (src, const char*) (dest, const char*) +file_move True (int) (fd, void*, smx_file_t) (fullpath, const char*) +file_rcopy True (int) (fd, void*, smx_file_t) (host, void*, smx_host_t) (fullpath, const char*) storage_get_free_size True (sg_size_t) (name, const char*) storage_get_used_size True (sg_size_t) (name, const char*) storage_get_properties True (void*, xbt_dict_t) (storage, void*, smx_storage_t)