Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
inline a function called only once
[simgrid.git] / src / simix / popping_accessors.h
1 /**********************************************************************/
2 /* File generated by src/simix/simcalls.py from src/simix/simcalls.in */
3 /*                                                                    */
4 /*                    DO NOT EVER CHANGE THIS FILE                    */
5 /*                                                                    */
6 /* change simcalls specification in src/simix/simcalls.in             */
7 /**********************************************************************/
8
9 /*
10  * Note that the name comes from http://en.wikipedia.org/wiki/Popping
11  * Indeed, the control flow is doing a strange dance in there.
12  *
13  * That's not about http://en.wikipedia.org/wiki/Poop, despite the odor :)
14  */
15
16 #include "src/simix/popping_private.h"
17 static inline sg_host_t simcall_vm_suspend__get__ind_vm(smx_simcall_t simcall) {
18   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[0]);
19 }
20 static inline void simcall_vm_suspend__set__ind_vm(smx_simcall_t simcall, sg_host_t arg) {
21     simgrid::simix::marshal<sg_host_t>(simcall->args[0], arg);
22 }
23
24 static inline sg_host_t simcall_vm_resume__get__ind_vm(smx_simcall_t simcall) {
25   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[0]);
26 }
27 static inline void simcall_vm_resume__set__ind_vm(smx_simcall_t simcall, sg_host_t arg) {
28     simgrid::simix::marshal<sg_host_t>(simcall->args[0], arg);
29 }
30
31 static inline sg_host_t simcall_vm_shutdown__get__ind_vm(smx_simcall_t simcall) {
32   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[0]);
33 }
34 static inline void simcall_vm_shutdown__set__ind_vm(smx_simcall_t simcall, sg_host_t arg) {
35     simgrid::simix::marshal<sg_host_t>(simcall->args[0], arg);
36 }
37
38 static inline sg_host_t simcall_vm_save__get__ind_vm(smx_simcall_t simcall) {
39   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[0]);
40 }
41 static inline void simcall_vm_save__set__ind_vm(smx_simcall_t simcall, sg_host_t arg) {
42     simgrid::simix::marshal<sg_host_t>(simcall->args[0], arg);
43 }
44
45 static inline sg_host_t simcall_vm_restore__get__ind_vm(smx_simcall_t simcall) {
46   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[0]);
47 }
48 static inline void simcall_vm_restore__set__ind_vm(smx_simcall_t simcall, sg_host_t arg) {
49     simgrid::simix::marshal<sg_host_t>(simcall->args[0], arg);
50 }
51
52 static inline smx_actor_t simcall_process_kill__get__process(smx_simcall_t simcall) {
53   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
54 }
55 static inline void simcall_process_kill__set__process(smx_simcall_t simcall, smx_actor_t arg) {
56     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
57 }
58
59 static inline int simcall_process_killall__get__reset_pid(smx_simcall_t simcall) {
60   return simgrid::simix::unmarshal<int>(simcall->args[0]);
61 }
62 static inline void simcall_process_killall__set__reset_pid(smx_simcall_t simcall, int arg) {
63     simgrid::simix::marshal<int>(simcall->args[0], arg);
64 }
65
66 static inline smx_actor_t simcall_process_cleanup__get__process(smx_simcall_t simcall) {
67   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
68 }
69 static inline void simcall_process_cleanup__set__process(smx_simcall_t simcall, smx_actor_t arg) {
70     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
71 }
72
73 static inline smx_actor_t simcall_process_suspend__get__process(smx_simcall_t simcall) {
74   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
75 }
76 static inline void simcall_process_suspend__set__process(smx_simcall_t simcall, smx_actor_t arg) {
77     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
78 }
79
80 static inline smx_actor_t simcall_process_resume__get__process(smx_simcall_t simcall) {
81   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
82 }
83 static inline void simcall_process_resume__set__process(smx_simcall_t simcall, smx_actor_t arg) {
84     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
85 }
86
87 static inline smx_actor_t simcall_process_set_host__get__process(smx_simcall_t simcall) {
88   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
89 }
90 static inline void simcall_process_set_host__set__process(smx_simcall_t simcall, smx_actor_t arg) {
91     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
92 }
93 static inline sg_host_t simcall_process_set_host__get__dest(smx_simcall_t simcall) {
94   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[1]);
95 }
96 static inline void simcall_process_set_host__set__dest(smx_simcall_t simcall, sg_host_t arg) {
97     simgrid::simix::marshal<sg_host_t>(simcall->args[1], arg);
98 }
99
100 static inline smx_actor_t simcall_process_is_suspended__get__process(smx_simcall_t simcall) {
101   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
102 }
103 static inline void simcall_process_is_suspended__set__process(smx_simcall_t simcall, smx_actor_t arg) {
104     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
105 }
106 static inline int simcall_process_is_suspended__get__result(smx_simcall_t simcall){
107     return simgrid::simix::unmarshal<int>(simcall->result);
108 }
109 static inline void simcall_process_is_suspended__set__result(smx_simcall_t simcall, int result){
110     simgrid::simix::marshal<int>(simcall->result, result);
111 }
112
113 static inline smx_actor_t simcall_process_join__get__process(smx_simcall_t simcall) {
114   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
115 }
116 static inline void simcall_process_join__set__process(smx_simcall_t simcall, smx_actor_t arg) {
117     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
118 }
119 static inline double simcall_process_join__get__timeout(smx_simcall_t simcall) {
120   return simgrid::simix::unmarshal<double>(simcall->args[1]);
121 }
122 static inline void simcall_process_join__set__timeout(smx_simcall_t simcall, double arg) {
123     simgrid::simix::marshal<double>(simcall->args[1], arg);
124 }
125 static inline int simcall_process_join__get__result(smx_simcall_t simcall){
126     return simgrid::simix::unmarshal<int>(simcall->result);
127 }
128 static inline void simcall_process_join__set__result(smx_simcall_t simcall, int result){
129     simgrid::simix::marshal<int>(simcall->result, result);
130 }
131
132 static inline double simcall_process_sleep__get__duration(smx_simcall_t simcall) {
133   return simgrid::simix::unmarshal<double>(simcall->args[0]);
134 }
135 static inline void simcall_process_sleep__set__duration(smx_simcall_t simcall, double arg) {
136     simgrid::simix::marshal<double>(simcall->args[0], arg);
137 }
138 static inline int simcall_process_sleep__get__result(smx_simcall_t simcall){
139     return simgrid::simix::unmarshal<int>(simcall->result);
140 }
141 static inline void simcall_process_sleep__set__result(smx_simcall_t simcall, int result){
142     simgrid::simix::marshal<int>(simcall->result, result);
143 }
144
145 static inline const char* simcall_execution_start__get__name(smx_simcall_t simcall) {
146   return simgrid::simix::unmarshal<const char*>(simcall->args[0]);
147 }
148 static inline void simcall_execution_start__set__name(smx_simcall_t simcall, const char* arg) {
149     simgrid::simix::marshal<const char*>(simcall->args[0], arg);
150 }
151 static inline double simcall_execution_start__get__flops_amount(smx_simcall_t simcall) {
152   return simgrid::simix::unmarshal<double>(simcall->args[1]);
153 }
154 static inline void simcall_execution_start__set__flops_amount(smx_simcall_t simcall, double arg) {
155     simgrid::simix::marshal<double>(simcall->args[1], arg);
156 }
157 static inline double simcall_execution_start__get__priority(smx_simcall_t simcall) {
158   return simgrid::simix::unmarshal<double>(simcall->args[2]);
159 }
160 static inline void simcall_execution_start__set__priority(smx_simcall_t simcall, double arg) {
161     simgrid::simix::marshal<double>(simcall->args[2], arg);
162 }
163 static inline double simcall_execution_start__get__bound(smx_simcall_t simcall) {
164   return simgrid::simix::unmarshal<double>(simcall->args[3]);
165 }
166 static inline void simcall_execution_start__set__bound(smx_simcall_t simcall, double arg) {
167     simgrid::simix::marshal<double>(simcall->args[3], arg);
168 }
169 static inline smx_activity_t simcall_execution_start__get__result(smx_simcall_t simcall){
170     return simgrid::simix::unmarshal<smx_activity_t>(simcall->result);
171 }
172 static inline void simcall_execution_start__set__result(smx_simcall_t simcall, smx_activity_t result){
173     simgrid::simix::marshal<smx_activity_t>(simcall->result, result);
174 }
175
176 static inline const char* simcall_execution_parallel_start__get__name(smx_simcall_t simcall) {
177   return simgrid::simix::unmarshal<const char*>(simcall->args[0]);
178 }
179 static inline void simcall_execution_parallel_start__set__name(smx_simcall_t simcall, const char* arg) {
180     simgrid::simix::marshal<const char*>(simcall->args[0], arg);
181 }
182 static inline int simcall_execution_parallel_start__get__host_nb(smx_simcall_t simcall) {
183   return simgrid::simix::unmarshal<int>(simcall->args[1]);
184 }
185 static inline void simcall_execution_parallel_start__set__host_nb(smx_simcall_t simcall, int arg) {
186     simgrid::simix::marshal<int>(simcall->args[1], arg);
187 }
188 static inline sg_host_t* simcall_execution_parallel_start__get__host_list(smx_simcall_t simcall) {
189   return simgrid::simix::unmarshal<sg_host_t*>(simcall->args[2]);
190 }
191 static inline void simcall_execution_parallel_start__set__host_list(smx_simcall_t simcall, sg_host_t* arg) {
192     simgrid::simix::marshal<sg_host_t*>(simcall->args[2], arg);
193 }
194 static inline double* simcall_execution_parallel_start__get__flops_amount(smx_simcall_t simcall) {
195   return simgrid::simix::unmarshal<double*>(simcall->args[3]);
196 }
197 static inline void simcall_execution_parallel_start__set__flops_amount(smx_simcall_t simcall, double* arg) {
198     simgrid::simix::marshal<double*>(simcall->args[3], arg);
199 }
200 static inline double* simcall_execution_parallel_start__get__bytes_amount(smx_simcall_t simcall) {
201   return simgrid::simix::unmarshal<double*>(simcall->args[4]);
202 }
203 static inline void simcall_execution_parallel_start__set__bytes_amount(smx_simcall_t simcall, double* arg) {
204     simgrid::simix::marshal<double*>(simcall->args[4], arg);
205 }
206 static inline double simcall_execution_parallel_start__get__amount(smx_simcall_t simcall) {
207   return simgrid::simix::unmarshal<double>(simcall->args[5]);
208 }
209 static inline void simcall_execution_parallel_start__set__amount(smx_simcall_t simcall, double arg) {
210     simgrid::simix::marshal<double>(simcall->args[5], arg);
211 }
212 static inline double simcall_execution_parallel_start__get__rate(smx_simcall_t simcall) {
213   return simgrid::simix::unmarshal<double>(simcall->args[6]);
214 }
215 static inline void simcall_execution_parallel_start__set__rate(smx_simcall_t simcall, double arg) {
216     simgrid::simix::marshal<double>(simcall->args[6], arg);
217 }
218 static inline smx_activity_t simcall_execution_parallel_start__get__result(smx_simcall_t simcall){
219     return simgrid::simix::unmarshal<smx_activity_t>(simcall->result);
220 }
221 static inline void simcall_execution_parallel_start__set__result(smx_simcall_t simcall, smx_activity_t result){
222     simgrid::simix::marshal<smx_activity_t>(simcall->result, result);
223 }
224
225 static inline smx_activity_t simcall_execution_cancel__get__execution(smx_simcall_t simcall) {
226   return simgrid::simix::unmarshal<smx_activity_t>(simcall->args[0]);
227 }
228 static inline void simcall_execution_cancel__set__execution(smx_simcall_t simcall, smx_activity_t arg) {
229     simgrid::simix::marshal<smx_activity_t>(simcall->args[0], arg);
230 }
231
232 static inline smx_activity_t simcall_execution_set_priority__get__execution(smx_simcall_t simcall) {
233   return simgrid::simix::unmarshal<smx_activity_t>(simcall->args[0]);
234 }
235 static inline void simcall_execution_set_priority__set__execution(smx_simcall_t simcall, smx_activity_t arg) {
236     simgrid::simix::marshal<smx_activity_t>(simcall->args[0], arg);
237 }
238 static inline double simcall_execution_set_priority__get__priority(smx_simcall_t simcall) {
239   return simgrid::simix::unmarshal<double>(simcall->args[1]);
240 }
241 static inline void simcall_execution_set_priority__set__priority(smx_simcall_t simcall, double arg) {
242     simgrid::simix::marshal<double>(simcall->args[1], arg);
243 }
244
245 static inline smx_activity_t simcall_execution_set_bound__get__execution(smx_simcall_t simcall) {
246   return simgrid::simix::unmarshal<smx_activity_t>(simcall->args[0]);
247 }
248 static inline void simcall_execution_set_bound__set__execution(smx_simcall_t simcall, smx_activity_t arg) {
249     simgrid::simix::marshal<smx_activity_t>(simcall->args[0], arg);
250 }
251 static inline double simcall_execution_set_bound__get__bound(smx_simcall_t simcall) {
252   return simgrid::simix::unmarshal<double>(simcall->args[1]);
253 }
254 static inline void simcall_execution_set_bound__set__bound(smx_simcall_t simcall, double arg) {
255     simgrid::simix::marshal<double>(simcall->args[1], arg);
256 }
257
258 static inline smx_activity_t simcall_execution_wait__get__execution(smx_simcall_t simcall) {
259   return simgrid::simix::unmarshal<smx_activity_t>(simcall->args[0]);
260 }
261 static inline void simcall_execution_wait__set__execution(smx_simcall_t simcall, smx_activity_t arg) {
262     simgrid::simix::marshal<smx_activity_t>(simcall->args[0], arg);
263 }
264 static inline int simcall_execution_wait__get__result(smx_simcall_t simcall){
265     return simgrid::simix::unmarshal<int>(simcall->result);
266 }
267 static inline void simcall_execution_wait__set__result(smx_simcall_t simcall, int result){
268     simgrid::simix::marshal<int>(simcall->result, result);
269 }
270
271 static inline smx_actor_t simcall_process_on_exit__get__process(smx_simcall_t simcall) {
272   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
273 }
274 static inline void simcall_process_on_exit__set__process(smx_simcall_t simcall, smx_actor_t arg) {
275     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
276 }
277 static inline int_f_pvoid_pvoid_t simcall_process_on_exit__get__fun(smx_simcall_t simcall) {
278   return simgrid::simix::unmarshal<int_f_pvoid_pvoid_t>(simcall->args[1]);
279 }
280 static inline void simcall_process_on_exit__set__fun(smx_simcall_t simcall, int_f_pvoid_pvoid_t arg) {
281     simgrid::simix::marshal<int_f_pvoid_pvoid_t>(simcall->args[1], arg);
282 }
283 static inline void* simcall_process_on_exit__get__data(smx_simcall_t simcall) {
284   return simgrid::simix::unmarshal<void*>(simcall->args[2]);
285 }
286 static inline void simcall_process_on_exit__set__data(smx_simcall_t simcall, void* arg) {
287     simgrid::simix::marshal<void*>(simcall->args[2], arg);
288 }
289
290 static inline smx_actor_t simcall_process_auto_restart_set__get__process(smx_simcall_t simcall) {
291   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
292 }
293 static inline void simcall_process_auto_restart_set__set__process(smx_simcall_t simcall, smx_actor_t arg) {
294     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
295 }
296 static inline int simcall_process_auto_restart_set__get__auto_restart(smx_simcall_t simcall) {
297   return simgrid::simix::unmarshal<int>(simcall->args[1]);
298 }
299 static inline void simcall_process_auto_restart_set__set__auto_restart(smx_simcall_t simcall, int arg) {
300     simgrid::simix::marshal<int>(simcall->args[1], arg);
301 }
302
303 static inline smx_actor_t simcall_process_restart__get__process(smx_simcall_t simcall) {
304   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
305 }
306 static inline void simcall_process_restart__set__process(smx_simcall_t simcall, smx_actor_t arg) {
307     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
308 }
309 static inline smx_actor_t simcall_process_restart__get__result(smx_simcall_t simcall){
310     return simgrid::simix::unmarshal<smx_actor_t>(simcall->result);
311 }
312 static inline void simcall_process_restart__set__result(smx_simcall_t simcall, smx_actor_t result){
313     simgrid::simix::marshal<smx_actor_t>(simcall->result, result);
314 }
315
316 static inline const char* simcall_mbox_create__get__name(smx_simcall_t simcall) {
317   return simgrid::simix::unmarshal<const char*>(simcall->args[0]);
318 }
319 static inline void simcall_mbox_create__set__name(smx_simcall_t simcall, const char* arg) {
320     simgrid::simix::marshal<const char*>(simcall->args[0], arg);
321 }
322 static inline smx_mailbox_t simcall_mbox_create__get__result(smx_simcall_t simcall){
323     return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->result);
324 }
325 static inline void simcall_mbox_create__set__result(smx_simcall_t simcall, smx_mailbox_t result){
326     simgrid::simix::marshal<smx_mailbox_t>(simcall->result, result);
327 }
328
329 static inline smx_mailbox_t simcall_mbox_set_receiver__get__mbox(smx_simcall_t simcall) {
330   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[0]);
331 }
332 static inline void simcall_mbox_set_receiver__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
333     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[0], arg);
334 }
335 static inline smx_actor_t simcall_mbox_set_receiver__get__receiver(smx_simcall_t simcall) {
336   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[1]);
337 }
338 static inline void simcall_mbox_set_receiver__set__receiver(smx_simcall_t simcall, smx_actor_t arg) {
339     simgrid::simix::marshal<smx_actor_t>(simcall->args[1], arg);
340 }
341
342 static inline smx_mailbox_t simcall_comm_iprobe__get__mbox(smx_simcall_t simcall) {
343   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[0]);
344 }
345 static inline void simcall_comm_iprobe__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
346     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[0], arg);
347 }
348 static inline int simcall_comm_iprobe__get__type(smx_simcall_t simcall) {
349   return simgrid::simix::unmarshal<int>(simcall->args[1]);
350 }
351 static inline void simcall_comm_iprobe__set__type(smx_simcall_t simcall, int arg) {
352     simgrid::simix::marshal<int>(simcall->args[1], arg);
353 }
354 static inline int simcall_comm_iprobe__get__src(smx_simcall_t simcall) {
355   return simgrid::simix::unmarshal<int>(simcall->args[2]);
356 }
357 static inline void simcall_comm_iprobe__set__src(smx_simcall_t simcall, int arg) {
358     simgrid::simix::marshal<int>(simcall->args[2], arg);
359 }
360 static inline int simcall_comm_iprobe__get__tag(smx_simcall_t simcall) {
361   return simgrid::simix::unmarshal<int>(simcall->args[3]);
362 }
363 static inline void simcall_comm_iprobe__set__tag(smx_simcall_t simcall, int arg) {
364     simgrid::simix::marshal<int>(simcall->args[3], arg);
365 }
366 static inline simix_match_func_t simcall_comm_iprobe__get__match_fun(smx_simcall_t simcall) {
367   return simgrid::simix::unmarshal<simix_match_func_t>(simcall->args[4]);
368 }
369 static inline void simcall_comm_iprobe__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) {
370     simgrid::simix::marshal<simix_match_func_t>(simcall->args[4], arg);
371 }
372 static inline void* simcall_comm_iprobe__get__data(smx_simcall_t simcall) {
373   return simgrid::simix::unmarshal<void*>(simcall->args[5]);
374 }
375 static inline void simcall_comm_iprobe__set__data(smx_simcall_t simcall, void* arg) {
376     simgrid::simix::marshal<void*>(simcall->args[5], arg);
377 }
378 static inline smx_activity_t simcall_comm_iprobe__get__result(smx_simcall_t simcall){
379     return simgrid::simix::unmarshal<smx_activity_t>(simcall->result);
380 }
381 static inline void simcall_comm_iprobe__set__result(smx_simcall_t simcall, smx_activity_t result){
382     simgrid::simix::marshal<smx_activity_t>(simcall->result, result);
383 }
384
385 static inline smx_actor_t simcall_comm_send__get__sender(smx_simcall_t simcall) {
386   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
387 }
388 static inline void simcall_comm_send__set__sender(smx_simcall_t simcall, smx_actor_t arg) {
389     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
390 }
391 static inline smx_mailbox_t simcall_comm_send__get__mbox(smx_simcall_t simcall) {
392   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[1]);
393 }
394 static inline void simcall_comm_send__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
395     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[1], arg);
396 }
397 static inline double simcall_comm_send__get__task_size(smx_simcall_t simcall) {
398   return simgrid::simix::unmarshal<double>(simcall->args[2]);
399 }
400 static inline void simcall_comm_send__set__task_size(smx_simcall_t simcall, double arg) {
401     simgrid::simix::marshal<double>(simcall->args[2], arg);
402 }
403 static inline double simcall_comm_send__get__rate(smx_simcall_t simcall) {
404   return simgrid::simix::unmarshal<double>(simcall->args[3]);
405 }
406 static inline void simcall_comm_send__set__rate(smx_simcall_t simcall, double arg) {
407     simgrid::simix::marshal<double>(simcall->args[3], arg);
408 }
409 static inline void* simcall_comm_send__get__src_buff(smx_simcall_t simcall) {
410   return simgrid::simix::unmarshal<void*>(simcall->args[4]);
411 }
412 static inline void simcall_comm_send__set__src_buff(smx_simcall_t simcall, void* arg) {
413     simgrid::simix::marshal<void*>(simcall->args[4], arg);
414 }
415 static inline size_t simcall_comm_send__get__src_buff_size(smx_simcall_t simcall) {
416   return simgrid::simix::unmarshal<size_t>(simcall->args[5]);
417 }
418 static inline void simcall_comm_send__set__src_buff_size(smx_simcall_t simcall, size_t arg) {
419     simgrid::simix::marshal<size_t>(simcall->args[5], arg);
420 }
421 static inline simix_match_func_t simcall_comm_send__get__match_fun(smx_simcall_t simcall) {
422   return simgrid::simix::unmarshal<simix_match_func_t>(simcall->args[6]);
423 }
424 static inline void simcall_comm_send__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) {
425     simgrid::simix::marshal<simix_match_func_t>(simcall->args[6], arg);
426 }
427 static inline simix_copy_data_func_t simcall_comm_send__get__copy_data_fun(smx_simcall_t simcall) {
428   return simgrid::simix::unmarshal<simix_copy_data_func_t>(simcall->args[7]);
429 }
430 static inline void simcall_comm_send__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) {
431     simgrid::simix::marshal<simix_copy_data_func_t>(simcall->args[7], arg);
432 }
433 static inline void* simcall_comm_send__get__data(smx_simcall_t simcall) {
434   return simgrid::simix::unmarshal<void*>(simcall->args[8]);
435 }
436 static inline void simcall_comm_send__set__data(smx_simcall_t simcall, void* arg) {
437     simgrid::simix::marshal<void*>(simcall->args[8], arg);
438 }
439 static inline double simcall_comm_send__get__timeout(smx_simcall_t simcall) {
440   return simgrid::simix::unmarshal<double>(simcall->args[9]);
441 }
442 static inline void simcall_comm_send__set__timeout(smx_simcall_t simcall, double arg) {
443     simgrid::simix::marshal<double>(simcall->args[9], arg);
444 }
445
446 static inline smx_actor_t simcall_comm_isend__get__sender(smx_simcall_t simcall) {
447   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
448 }
449 static inline void simcall_comm_isend__set__sender(smx_simcall_t simcall, smx_actor_t arg) {
450     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
451 }
452 static inline smx_mailbox_t simcall_comm_isend__get__mbox(smx_simcall_t simcall) {
453   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[1]);
454 }
455 static inline void simcall_comm_isend__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
456     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[1], arg);
457 }
458 static inline double simcall_comm_isend__get__task_size(smx_simcall_t simcall) {
459   return simgrid::simix::unmarshal<double>(simcall->args[2]);
460 }
461 static inline void simcall_comm_isend__set__task_size(smx_simcall_t simcall, double arg) {
462     simgrid::simix::marshal<double>(simcall->args[2], arg);
463 }
464 static inline double simcall_comm_isend__get__rate(smx_simcall_t simcall) {
465   return simgrid::simix::unmarshal<double>(simcall->args[3]);
466 }
467 static inline void simcall_comm_isend__set__rate(smx_simcall_t simcall, double arg) {
468     simgrid::simix::marshal<double>(simcall->args[3], arg);
469 }
470 static inline void* simcall_comm_isend__get__src_buff(smx_simcall_t simcall) {
471   return simgrid::simix::unmarshal<void*>(simcall->args[4]);
472 }
473 static inline void simcall_comm_isend__set__src_buff(smx_simcall_t simcall, void* arg) {
474     simgrid::simix::marshal<void*>(simcall->args[4], arg);
475 }
476 static inline size_t simcall_comm_isend__get__src_buff_size(smx_simcall_t simcall) {
477   return simgrid::simix::unmarshal<size_t>(simcall->args[5]);
478 }
479 static inline void simcall_comm_isend__set__src_buff_size(smx_simcall_t simcall, size_t arg) {
480     simgrid::simix::marshal<size_t>(simcall->args[5], arg);
481 }
482 static inline simix_match_func_t simcall_comm_isend__get__match_fun(smx_simcall_t simcall) {
483   return simgrid::simix::unmarshal<simix_match_func_t>(simcall->args[6]);
484 }
485 static inline void simcall_comm_isend__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) {
486     simgrid::simix::marshal<simix_match_func_t>(simcall->args[6], arg);
487 }
488 static inline simix_clean_func_t simcall_comm_isend__get__clean_fun(smx_simcall_t simcall) {
489   return simgrid::simix::unmarshal<simix_clean_func_t>(simcall->args[7]);
490 }
491 static inline void simcall_comm_isend__set__clean_fun(smx_simcall_t simcall, simix_clean_func_t arg) {
492     simgrid::simix::marshal<simix_clean_func_t>(simcall->args[7], arg);
493 }
494 static inline simix_copy_data_func_t simcall_comm_isend__get__copy_data_fun(smx_simcall_t simcall) {
495   return simgrid::simix::unmarshal<simix_copy_data_func_t>(simcall->args[8]);
496 }
497 static inline void simcall_comm_isend__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) {
498     simgrid::simix::marshal<simix_copy_data_func_t>(simcall->args[8], arg);
499 }
500 static inline void* simcall_comm_isend__get__data(smx_simcall_t simcall) {
501   return simgrid::simix::unmarshal<void*>(simcall->args[9]);
502 }
503 static inline void simcall_comm_isend__set__data(smx_simcall_t simcall, void* arg) {
504     simgrid::simix::marshal<void*>(simcall->args[9], arg);
505 }
506 static inline int simcall_comm_isend__get__detached(smx_simcall_t simcall) {
507   return simgrid::simix::unmarshal<int>(simcall->args[10]);
508 }
509 static inline void simcall_comm_isend__set__detached(smx_simcall_t simcall, int arg) {
510     simgrid::simix::marshal<int>(simcall->args[10], arg);
511 }
512 static inline smx_activity_t simcall_comm_isend__get__result(smx_simcall_t simcall){
513     return simgrid::simix::unmarshal<smx_activity_t>(simcall->result);
514 }
515 static inline void simcall_comm_isend__set__result(smx_simcall_t simcall, smx_activity_t result){
516     simgrid::simix::marshal<smx_activity_t>(simcall->result, result);
517 }
518
519 static inline smx_actor_t simcall_comm_recv__get__receiver(smx_simcall_t simcall) {
520   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
521 }
522 static inline void simcall_comm_recv__set__receiver(smx_simcall_t simcall, smx_actor_t arg) {
523     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
524 }
525 static inline smx_mailbox_t simcall_comm_recv__get__mbox(smx_simcall_t simcall) {
526   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[1]);
527 }
528 static inline void simcall_comm_recv__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
529     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[1], arg);
530 }
531 static inline void* simcall_comm_recv__get__dst_buff(smx_simcall_t simcall) {
532   return simgrid::simix::unmarshal<void*>(simcall->args[2]);
533 }
534 static inline void simcall_comm_recv__set__dst_buff(smx_simcall_t simcall, void* arg) {
535     simgrid::simix::marshal<void*>(simcall->args[2], arg);
536 }
537 static inline size_t* simcall_comm_recv__get__dst_buff_size(smx_simcall_t simcall) {
538   return simgrid::simix::unmarshal<size_t*>(simcall->args[3]);
539 }
540 static inline void simcall_comm_recv__set__dst_buff_size(smx_simcall_t simcall, size_t* arg) {
541     simgrid::simix::marshal<size_t*>(simcall->args[3], arg);
542 }
543 static inline simix_match_func_t simcall_comm_recv__get__match_fun(smx_simcall_t simcall) {
544   return simgrid::simix::unmarshal<simix_match_func_t>(simcall->args[4]);
545 }
546 static inline void simcall_comm_recv__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) {
547     simgrid::simix::marshal<simix_match_func_t>(simcall->args[4], arg);
548 }
549 static inline simix_copy_data_func_t simcall_comm_recv__get__copy_data_fun(smx_simcall_t simcall) {
550   return simgrid::simix::unmarshal<simix_copy_data_func_t>(simcall->args[5]);
551 }
552 static inline void simcall_comm_recv__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) {
553     simgrid::simix::marshal<simix_copy_data_func_t>(simcall->args[5], arg);
554 }
555 static inline void* simcall_comm_recv__get__data(smx_simcall_t simcall) {
556   return simgrid::simix::unmarshal<void*>(simcall->args[6]);
557 }
558 static inline void simcall_comm_recv__set__data(smx_simcall_t simcall, void* arg) {
559     simgrid::simix::marshal<void*>(simcall->args[6], arg);
560 }
561 static inline double simcall_comm_recv__get__timeout(smx_simcall_t simcall) {
562   return simgrid::simix::unmarshal<double>(simcall->args[7]);
563 }
564 static inline void simcall_comm_recv__set__timeout(smx_simcall_t simcall, double arg) {
565     simgrid::simix::marshal<double>(simcall->args[7], arg);
566 }
567 static inline double simcall_comm_recv__get__rate(smx_simcall_t simcall) {
568   return simgrid::simix::unmarshal<double>(simcall->args[8]);
569 }
570 static inline void simcall_comm_recv__set__rate(smx_simcall_t simcall, double arg) {
571     simgrid::simix::marshal<double>(simcall->args[8], arg);
572 }
573
574 static inline smx_actor_t simcall_comm_irecv__get__receiver(smx_simcall_t simcall) {
575   return simgrid::simix::unmarshal<smx_actor_t>(simcall->args[0]);
576 }
577 static inline void simcall_comm_irecv__set__receiver(smx_simcall_t simcall, smx_actor_t arg) {
578     simgrid::simix::marshal<smx_actor_t>(simcall->args[0], arg);
579 }
580 static inline smx_mailbox_t simcall_comm_irecv__get__mbox(smx_simcall_t simcall) {
581   return simgrid::simix::unmarshal<smx_mailbox_t>(simcall->args[1]);
582 }
583 static inline void simcall_comm_irecv__set__mbox(smx_simcall_t simcall, smx_mailbox_t arg) {
584     simgrid::simix::marshal<smx_mailbox_t>(simcall->args[1], arg);
585 }
586 static inline void* simcall_comm_irecv__get__dst_buff(smx_simcall_t simcall) {
587   return simgrid::simix::unmarshal<void*>(simcall->args[2]);
588 }
589 static inline void simcall_comm_irecv__set__dst_buff(smx_simcall_t simcall, void* arg) {
590     simgrid::simix::marshal<void*>(simcall->args[2], arg);
591 }
592 static inline size_t* simcall_comm_irecv__get__dst_buff_size(smx_simcall_t simcall) {
593   return simgrid::simix::unmarshal<size_t*>(simcall->args[3]);
594 }
595 static inline void simcall_comm_irecv__set__dst_buff_size(smx_simcall_t simcall, size_t* arg) {
596     simgrid::simix::marshal<size_t*>(simcall->args[3], arg);
597 }
598 static inline simix_match_func_t simcall_comm_irecv__get__match_fun(smx_simcall_t simcall) {
599   return simgrid::simix::unmarshal<simix_match_func_t>(simcall->args[4]);
600 }
601 static inline void simcall_comm_irecv__set__match_fun(smx_simcall_t simcall, simix_match_func_t arg) {
602     simgrid::simix::marshal<simix_match_func_t>(simcall->args[4], arg);
603 }
604 static inline simix_copy_data_func_t simcall_comm_irecv__get__copy_data_fun(smx_simcall_t simcall) {
605   return simgrid::simix::unmarshal<simix_copy_data_func_t>(simcall->args[5]);
606 }
607 static inline void simcall_comm_irecv__set__copy_data_fun(smx_simcall_t simcall, simix_copy_data_func_t arg) {
608     simgrid::simix::marshal<simix_copy_data_func_t>(simcall->args[5], arg);
609 }
610 static inline void* simcall_comm_irecv__get__data(smx_simcall_t simcall) {
611   return simgrid::simix::unmarshal<void*>(simcall->args[6]);
612 }
613 static inline void simcall_comm_irecv__set__data(smx_simcall_t simcall, void* arg) {
614     simgrid::simix::marshal<void*>(simcall->args[6], arg);
615 }
616 static inline double simcall_comm_irecv__get__rate(smx_simcall_t simcall) {
617   return simgrid::simix::unmarshal<double>(simcall->args[7]);
618 }
619 static inline void simcall_comm_irecv__set__rate(smx_simcall_t simcall, double arg) {
620     simgrid::simix::marshal<double>(simcall->args[7], arg);
621 }
622 static inline smx_activity_t simcall_comm_irecv__get__result(smx_simcall_t simcall){
623     return simgrid::simix::unmarshal<smx_activity_t>(simcall->result);
624 }
625 static inline void simcall_comm_irecv__set__result(smx_simcall_t simcall, smx_activity_t result){
626     simgrid::simix::marshal<smx_activity_t>(simcall->result, result);
627 }
628
629 static inline xbt_dynar_t simcall_comm_waitany__get__comms(smx_simcall_t simcall) {
630   return simgrid::simix::unmarshal<xbt_dynar_t>(simcall->args[0]);
631 }
632 static inline void simcall_comm_waitany__set__comms(smx_simcall_t simcall, xbt_dynar_t arg) {
633     simgrid::simix::marshal<xbt_dynar_t>(simcall->args[0], arg);
634 }
635 static inline double simcall_comm_waitany__get__timeout(smx_simcall_t simcall) {
636   return simgrid::simix::unmarshal<double>(simcall->args[1]);
637 }
638 static inline void simcall_comm_waitany__set__timeout(smx_simcall_t simcall, double arg) {
639     simgrid::simix::marshal<double>(simcall->args[1], arg);
640 }
641 static inline int simcall_comm_waitany__get__result(smx_simcall_t simcall){
642     return simgrid::simix::unmarshal<int>(simcall->result);
643 }
644 static inline void simcall_comm_waitany__set__result(smx_simcall_t simcall, int result){
645     simgrid::simix::marshal<int>(simcall->result, result);
646 }
647
648 static inline smx_activity_t simcall_comm_wait__get__comm(smx_simcall_t simcall) {
649   return simgrid::simix::unmarshal<smx_activity_t>(simcall->args[0]);
650 }
651 static inline void simcall_comm_wait__set__comm(smx_simcall_t simcall, smx_activity_t arg) {
652     simgrid::simix::marshal<smx_activity_t>(simcall->args[0], arg);
653 }
654 static inline double simcall_comm_wait__get__timeout(smx_simcall_t simcall) {
655   return simgrid::simix::unmarshal<double>(simcall->args[1]);
656 }
657 static inline void simcall_comm_wait__set__timeout(smx_simcall_t simcall, double arg) {
658     simgrid::simix::marshal<double>(simcall->args[1], arg);
659 }
660
661 static inline smx_activity_t simcall_comm_test__get__comm(smx_simcall_t simcall) {
662   return simgrid::simix::unmarshal<smx_activity_t>(simcall->args[0]);
663 }
664 static inline void simcall_comm_test__set__comm(smx_simcall_t simcall, smx_activity_t arg) {
665     simgrid::simix::marshal<smx_activity_t>(simcall->args[0], arg);
666 }
667 static inline int simcall_comm_test__get__result(smx_simcall_t simcall){
668     return simgrid::simix::unmarshal<int>(simcall->result);
669 }
670 static inline void simcall_comm_test__set__result(smx_simcall_t simcall, int result){
671     simgrid::simix::marshal<int>(simcall->result, result);
672 }
673
674 static inline smx_activity_t* simcall_comm_testany__get__comms(smx_simcall_t simcall) {
675   return simgrid::simix::unmarshal<smx_activity_t*>(simcall->args[0]);
676 }
677 static inline void simcall_comm_testany__set__comms(smx_simcall_t simcall, smx_activity_t* arg) {
678     simgrid::simix::marshal<smx_activity_t*>(simcall->args[0], arg);
679 }
680 static inline size_t simcall_comm_testany__get__count(smx_simcall_t simcall) {
681   return simgrid::simix::unmarshal<size_t>(simcall->args[1]);
682 }
683 static inline void simcall_comm_testany__set__count(smx_simcall_t simcall, size_t arg) {
684     simgrid::simix::marshal<size_t>(simcall->args[1], arg);
685 }
686 static inline int simcall_comm_testany__get__result(smx_simcall_t simcall){
687     return simgrid::simix::unmarshal<int>(simcall->result);
688 }
689 static inline void simcall_comm_testany__set__result(smx_simcall_t simcall, int result){
690     simgrid::simix::marshal<int>(simcall->result, result);
691 }
692
693 static inline smx_mutex_t simcall_mutex_init__get__result(smx_simcall_t simcall){
694     return simgrid::simix::unmarshal<smx_mutex_t>(simcall->result);
695 }
696 static inline void simcall_mutex_init__set__result(smx_simcall_t simcall, smx_mutex_t result){
697     simgrid::simix::marshal<smx_mutex_t>(simcall->result, result);
698 }
699
700 static inline smx_mutex_t simcall_mutex_lock__get__mutex(smx_simcall_t simcall) {
701   return simgrid::simix::unmarshal<smx_mutex_t>(simcall->args[0]);
702 }
703 static inline void simcall_mutex_lock__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) {
704     simgrid::simix::marshal<smx_mutex_t>(simcall->args[0], arg);
705 }
706
707 static inline smx_mutex_t simcall_mutex_trylock__get__mutex(smx_simcall_t simcall) {
708   return simgrid::simix::unmarshal<smx_mutex_t>(simcall->args[0]);
709 }
710 static inline void simcall_mutex_trylock__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) {
711     simgrid::simix::marshal<smx_mutex_t>(simcall->args[0], arg);
712 }
713 static inline int simcall_mutex_trylock__get__result(smx_simcall_t simcall){
714     return simgrid::simix::unmarshal<int>(simcall->result);
715 }
716 static inline void simcall_mutex_trylock__set__result(smx_simcall_t simcall, int result){
717     simgrid::simix::marshal<int>(simcall->result, result);
718 }
719
720 static inline smx_mutex_t simcall_mutex_unlock__get__mutex(smx_simcall_t simcall) {
721   return simgrid::simix::unmarshal<smx_mutex_t>(simcall->args[0]);
722 }
723 static inline void simcall_mutex_unlock__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) {
724     simgrid::simix::marshal<smx_mutex_t>(simcall->args[0], arg);
725 }
726
727 static inline smx_cond_t simcall_cond_init__get__result(smx_simcall_t simcall){
728     return simgrid::simix::unmarshal<smx_cond_t>(simcall->result);
729 }
730 static inline void simcall_cond_init__set__result(smx_simcall_t simcall, smx_cond_t result){
731     simgrid::simix::marshal<smx_cond_t>(simcall->result, result);
732 }
733
734 static inline smx_cond_t simcall_cond_signal__get__cond(smx_simcall_t simcall) {
735   return simgrid::simix::unmarshal<smx_cond_t>(simcall->args[0]);
736 }
737 static inline void simcall_cond_signal__set__cond(smx_simcall_t simcall, smx_cond_t arg) {
738     simgrid::simix::marshal<smx_cond_t>(simcall->args[0], arg);
739 }
740
741 static inline smx_cond_t simcall_cond_wait__get__cond(smx_simcall_t simcall) {
742   return simgrid::simix::unmarshal<smx_cond_t>(simcall->args[0]);
743 }
744 static inline void simcall_cond_wait__set__cond(smx_simcall_t simcall, smx_cond_t arg) {
745     simgrid::simix::marshal<smx_cond_t>(simcall->args[0], arg);
746 }
747 static inline smx_mutex_t simcall_cond_wait__get__mutex(smx_simcall_t simcall) {
748   return simgrid::simix::unmarshal<smx_mutex_t>(simcall->args[1]);
749 }
750 static inline void simcall_cond_wait__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) {
751     simgrid::simix::marshal<smx_mutex_t>(simcall->args[1], arg);
752 }
753
754 static inline smx_cond_t simcall_cond_wait_timeout__get__cond(smx_simcall_t simcall) {
755   return simgrid::simix::unmarshal<smx_cond_t>(simcall->args[0]);
756 }
757 static inline void simcall_cond_wait_timeout__set__cond(smx_simcall_t simcall, smx_cond_t arg) {
758     simgrid::simix::marshal<smx_cond_t>(simcall->args[0], arg);
759 }
760 static inline smx_mutex_t simcall_cond_wait_timeout__get__mutex(smx_simcall_t simcall) {
761   return simgrid::simix::unmarshal<smx_mutex_t>(simcall->args[1]);
762 }
763 static inline void simcall_cond_wait_timeout__set__mutex(smx_simcall_t simcall, smx_mutex_t arg) {
764     simgrid::simix::marshal<smx_mutex_t>(simcall->args[1], arg);
765 }
766 static inline double simcall_cond_wait_timeout__get__timeout(smx_simcall_t simcall) {
767   return simgrid::simix::unmarshal<double>(simcall->args[2]);
768 }
769 static inline void simcall_cond_wait_timeout__set__timeout(smx_simcall_t simcall, double arg) {
770     simgrid::simix::marshal<double>(simcall->args[2], arg);
771 }
772
773 static inline smx_cond_t simcall_cond_broadcast__get__cond(smx_simcall_t simcall) {
774   return simgrid::simix::unmarshal<smx_cond_t>(simcall->args[0]);
775 }
776 static inline void simcall_cond_broadcast__set__cond(smx_simcall_t simcall, smx_cond_t arg) {
777     simgrid::simix::marshal<smx_cond_t>(simcall->args[0], arg);
778 }
779
780 static inline unsigned int simcall_sem_init__get__capacity(smx_simcall_t simcall) {
781   return simgrid::simix::unmarshal<unsigned int>(simcall->args[0]);
782 }
783 static inline void simcall_sem_init__set__capacity(smx_simcall_t simcall, unsigned int arg) {
784     simgrid::simix::marshal<unsigned int>(simcall->args[0], arg);
785 }
786 static inline smx_sem_t simcall_sem_init__get__result(smx_simcall_t simcall){
787     return simgrid::simix::unmarshal<smx_sem_t>(simcall->result);
788 }
789 static inline void simcall_sem_init__set__result(smx_simcall_t simcall, smx_sem_t result){
790     simgrid::simix::marshal<smx_sem_t>(simcall->result, result);
791 }
792
793 static inline smx_sem_t simcall_sem_release__get__sem(smx_simcall_t simcall) {
794   return simgrid::simix::unmarshal<smx_sem_t>(simcall->args[0]);
795 }
796 static inline void simcall_sem_release__set__sem(smx_simcall_t simcall, smx_sem_t arg) {
797     simgrid::simix::marshal<smx_sem_t>(simcall->args[0], arg);
798 }
799
800 static inline smx_sem_t simcall_sem_would_block__get__sem(smx_simcall_t simcall) {
801   return simgrid::simix::unmarshal<smx_sem_t>(simcall->args[0]);
802 }
803 static inline void simcall_sem_would_block__set__sem(smx_simcall_t simcall, smx_sem_t arg) {
804     simgrid::simix::marshal<smx_sem_t>(simcall->args[0], arg);
805 }
806 static inline int simcall_sem_would_block__get__result(smx_simcall_t simcall){
807     return simgrid::simix::unmarshal<int>(simcall->result);
808 }
809 static inline void simcall_sem_would_block__set__result(smx_simcall_t simcall, int result){
810     simgrid::simix::marshal<int>(simcall->result, result);
811 }
812
813 static inline smx_sem_t simcall_sem_acquire__get__sem(smx_simcall_t simcall) {
814   return simgrid::simix::unmarshal<smx_sem_t>(simcall->args[0]);
815 }
816 static inline void simcall_sem_acquire__set__sem(smx_simcall_t simcall, smx_sem_t arg) {
817     simgrid::simix::marshal<smx_sem_t>(simcall->args[0], arg);
818 }
819
820 static inline smx_sem_t simcall_sem_acquire_timeout__get__sem(smx_simcall_t simcall) {
821   return simgrid::simix::unmarshal<smx_sem_t>(simcall->args[0]);
822 }
823 static inline void simcall_sem_acquire_timeout__set__sem(smx_simcall_t simcall, smx_sem_t arg) {
824     simgrid::simix::marshal<smx_sem_t>(simcall->args[0], arg);
825 }
826 static inline double simcall_sem_acquire_timeout__get__timeout(smx_simcall_t simcall) {
827   return simgrid::simix::unmarshal<double>(simcall->args[1]);
828 }
829 static inline void simcall_sem_acquire_timeout__set__timeout(smx_simcall_t simcall, double arg) {
830     simgrid::simix::marshal<double>(simcall->args[1], arg);
831 }
832
833 static inline smx_sem_t simcall_sem_get_capacity__get__sem(smx_simcall_t simcall) {
834   return simgrid::simix::unmarshal<smx_sem_t>(simcall->args[0]);
835 }
836 static inline void simcall_sem_get_capacity__set__sem(smx_simcall_t simcall, smx_sem_t arg) {
837     simgrid::simix::marshal<smx_sem_t>(simcall->args[0], arg);
838 }
839 static inline int simcall_sem_get_capacity__get__result(smx_simcall_t simcall){
840     return simgrid::simix::unmarshal<int>(simcall->result);
841 }
842 static inline void simcall_sem_get_capacity__set__result(smx_simcall_t simcall, int result){
843     simgrid::simix::marshal<int>(simcall->result, result);
844 }
845
846 static inline smx_file_t simcall_file_read__get__fd(smx_simcall_t simcall) {
847   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
848 }
849 static inline void simcall_file_read__set__fd(smx_simcall_t simcall, smx_file_t arg) {
850     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
851 }
852 static inline sg_size_t simcall_file_read__get__size(smx_simcall_t simcall) {
853   return simgrid::simix::unmarshal<sg_size_t>(simcall->args[1]);
854 }
855 static inline void simcall_file_read__set__size(smx_simcall_t simcall, sg_size_t arg) {
856     simgrid::simix::marshal<sg_size_t>(simcall->args[1], arg);
857 }
858 static inline sg_host_t simcall_file_read__get__host(smx_simcall_t simcall) {
859   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[2]);
860 }
861 static inline void simcall_file_read__set__host(smx_simcall_t simcall, sg_host_t arg) {
862     simgrid::simix::marshal<sg_host_t>(simcall->args[2], arg);
863 }
864 static inline sg_size_t simcall_file_read__get__result(smx_simcall_t simcall){
865     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
866 }
867 static inline void simcall_file_read__set__result(smx_simcall_t simcall, sg_size_t result){
868     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
869 }
870
871 static inline smx_file_t simcall_file_write__get__fd(smx_simcall_t simcall) {
872   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
873 }
874 static inline void simcall_file_write__set__fd(smx_simcall_t simcall, smx_file_t arg) {
875     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
876 }
877 static inline sg_size_t simcall_file_write__get__size(smx_simcall_t simcall) {
878   return simgrid::simix::unmarshal<sg_size_t>(simcall->args[1]);
879 }
880 static inline void simcall_file_write__set__size(smx_simcall_t simcall, sg_size_t arg) {
881     simgrid::simix::marshal<sg_size_t>(simcall->args[1], arg);
882 }
883 static inline sg_host_t simcall_file_write__get__host(smx_simcall_t simcall) {
884   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[2]);
885 }
886 static inline void simcall_file_write__set__host(smx_simcall_t simcall, sg_host_t arg) {
887     simgrid::simix::marshal<sg_host_t>(simcall->args[2], arg);
888 }
889 static inline sg_size_t simcall_file_write__get__result(smx_simcall_t simcall){
890     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
891 }
892 static inline void simcall_file_write__set__result(smx_simcall_t simcall, sg_size_t result){
893     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
894 }
895
896 static inline const char* simcall_file_open__get__fullpath(smx_simcall_t simcall) {
897   return simgrid::simix::unmarshal<const char*>(simcall->args[0]);
898 }
899 static inline void simcall_file_open__set__fullpath(smx_simcall_t simcall, const char* arg) {
900     simgrid::simix::marshal<const char*>(simcall->args[0], arg);
901 }
902 static inline sg_host_t simcall_file_open__get__host(smx_simcall_t simcall) {
903   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[1]);
904 }
905 static inline void simcall_file_open__set__host(smx_simcall_t simcall, sg_host_t arg) {
906     simgrid::simix::marshal<sg_host_t>(simcall->args[1], arg);
907 }
908 static inline smx_file_t simcall_file_open__get__result(smx_simcall_t simcall){
909     return simgrid::simix::unmarshal<smx_file_t>(simcall->result);
910 }
911 static inline void simcall_file_open__set__result(smx_simcall_t simcall, smx_file_t result){
912     simgrid::simix::marshal<smx_file_t>(simcall->result, result);
913 }
914
915 static inline smx_file_t simcall_file_close__get__fd(smx_simcall_t simcall) {
916   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
917 }
918 static inline void simcall_file_close__set__fd(smx_simcall_t simcall, smx_file_t arg) {
919     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
920 }
921 static inline sg_host_t simcall_file_close__get__host(smx_simcall_t simcall) {
922   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[1]);
923 }
924 static inline void simcall_file_close__set__host(smx_simcall_t simcall, sg_host_t arg) {
925     simgrid::simix::marshal<sg_host_t>(simcall->args[1], arg);
926 }
927 static inline int simcall_file_close__get__result(smx_simcall_t simcall){
928     return simgrid::simix::unmarshal<int>(simcall->result);
929 }
930 static inline void simcall_file_close__set__result(smx_simcall_t simcall, int result){
931     simgrid::simix::marshal<int>(simcall->result, result);
932 }
933
934 static inline smx_file_t simcall_file_unlink__get__fd(smx_simcall_t simcall) {
935   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
936 }
937 static inline void simcall_file_unlink__set__fd(smx_simcall_t simcall, smx_file_t arg) {
938     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
939 }
940 static inline sg_host_t simcall_file_unlink__get__host(smx_simcall_t simcall) {
941   return simgrid::simix::unmarshal<sg_host_t>(simcall->args[1]);
942 }
943 static inline void simcall_file_unlink__set__host(smx_simcall_t simcall, sg_host_t arg) {
944     simgrid::simix::marshal<sg_host_t>(simcall->args[1], arg);
945 }
946 static inline int simcall_file_unlink__get__result(smx_simcall_t simcall){
947     return simgrid::simix::unmarshal<int>(simcall->result);
948 }
949 static inline void simcall_file_unlink__set__result(smx_simcall_t simcall, int result){
950     simgrid::simix::marshal<int>(simcall->result, result);
951 }
952
953 static inline smx_file_t simcall_file_get_size__get__fd(smx_simcall_t simcall) {
954   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
955 }
956 static inline void simcall_file_get_size__set__fd(smx_simcall_t simcall, smx_file_t arg) {
957     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
958 }
959 static inline sg_size_t simcall_file_get_size__get__result(smx_simcall_t simcall){
960     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
961 }
962 static inline void simcall_file_get_size__set__result(smx_simcall_t simcall, sg_size_t result){
963     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
964 }
965
966 static inline smx_file_t simcall_file_tell__get__fd(smx_simcall_t simcall) {
967   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
968 }
969 static inline void simcall_file_tell__set__fd(smx_simcall_t simcall, smx_file_t arg) {
970     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
971 }
972 static inline sg_size_t simcall_file_tell__get__result(smx_simcall_t simcall){
973     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
974 }
975 static inline void simcall_file_tell__set__result(smx_simcall_t simcall, sg_size_t result){
976     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
977 }
978
979 static inline smx_file_t simcall_file_seek__get__fd(smx_simcall_t simcall) {
980   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
981 }
982 static inline void simcall_file_seek__set__fd(smx_simcall_t simcall, smx_file_t arg) {
983     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
984 }
985 static inline sg_offset_t simcall_file_seek__get__offset(smx_simcall_t simcall) {
986   return simgrid::simix::unmarshal<sg_offset_t>(simcall->args[1]);
987 }
988 static inline void simcall_file_seek__set__offset(smx_simcall_t simcall, sg_offset_t arg) {
989     simgrid::simix::marshal<sg_offset_t>(simcall->args[1], arg);
990 }
991 static inline int simcall_file_seek__get__origin(smx_simcall_t simcall) {
992   return simgrid::simix::unmarshal<int>(simcall->args[2]);
993 }
994 static inline void simcall_file_seek__set__origin(smx_simcall_t simcall, int arg) {
995     simgrid::simix::marshal<int>(simcall->args[2], arg);
996 }
997 static inline int simcall_file_seek__get__result(smx_simcall_t simcall){
998     return simgrid::simix::unmarshal<int>(simcall->result);
999 }
1000 static inline void simcall_file_seek__set__result(smx_simcall_t simcall, int result){
1001     simgrid::simix::marshal<int>(simcall->result, result);
1002 }
1003
1004 static inline smx_file_t simcall_file_get_info__get__fd(smx_simcall_t simcall) {
1005   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
1006 }
1007 static inline void simcall_file_get_info__set__fd(smx_simcall_t simcall, smx_file_t arg) {
1008     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
1009 }
1010 static inline xbt_dynar_t simcall_file_get_info__get__result(smx_simcall_t simcall){
1011     return simgrid::simix::unmarshal<xbt_dynar_t>(simcall->result);
1012 }
1013 static inline void simcall_file_get_info__set__result(smx_simcall_t simcall, xbt_dynar_t result){
1014     simgrid::simix::marshal<xbt_dynar_t>(simcall->result, result);
1015 }
1016
1017 static inline smx_file_t simcall_file_move__get__fd(smx_simcall_t simcall) {
1018   return simgrid::simix::unmarshal<smx_file_t>(simcall->args[0]);
1019 }
1020 static inline void simcall_file_move__set__fd(smx_simcall_t simcall, smx_file_t arg) {
1021     simgrid::simix::marshal<smx_file_t>(simcall->args[0], arg);
1022 }
1023 static inline const char* simcall_file_move__get__fullpath(smx_simcall_t simcall) {
1024   return simgrid::simix::unmarshal<const char*>(simcall->args[1]);
1025 }
1026 static inline void simcall_file_move__set__fullpath(smx_simcall_t simcall, const char* arg) {
1027     simgrid::simix::marshal<const char*>(simcall->args[1], arg);
1028 }
1029 static inline int simcall_file_move__get__result(smx_simcall_t simcall){
1030     return simgrid::simix::unmarshal<int>(simcall->result);
1031 }
1032 static inline void simcall_file_move__set__result(smx_simcall_t simcall, int result){
1033     simgrid::simix::marshal<int>(simcall->result, result);
1034 }
1035
1036 static inline smx_storage_t simcall_storage_get_free_size__get__storage(smx_simcall_t simcall) {
1037   return simgrid::simix::unmarshal<smx_storage_t>(simcall->args[0]);
1038 }
1039 static inline void simcall_storage_get_free_size__set__storage(smx_simcall_t simcall, smx_storage_t arg) {
1040     simgrid::simix::marshal<smx_storage_t>(simcall->args[0], arg);
1041 }
1042 static inline sg_size_t simcall_storage_get_free_size__get__result(smx_simcall_t simcall){
1043     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
1044 }
1045 static inline void simcall_storage_get_free_size__set__result(smx_simcall_t simcall, sg_size_t result){
1046     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
1047 }
1048
1049 static inline smx_storage_t simcall_storage_get_used_size__get__name(smx_simcall_t simcall) {
1050   return simgrid::simix::unmarshal<smx_storage_t>(simcall->args[0]);
1051 }
1052 static inline void simcall_storage_get_used_size__set__name(smx_simcall_t simcall, smx_storage_t arg) {
1053     simgrid::simix::marshal<smx_storage_t>(simcall->args[0], arg);
1054 }
1055 static inline sg_size_t simcall_storage_get_used_size__get__result(smx_simcall_t simcall){
1056     return simgrid::simix::unmarshal<sg_size_t>(simcall->result);
1057 }
1058 static inline void simcall_storage_get_used_size__set__result(smx_simcall_t simcall, sg_size_t result){
1059     simgrid::simix::marshal<sg_size_t>(simcall->result, result);
1060 }
1061
1062 static inline smx_storage_t simcall_storage_get_properties__get__storage(smx_simcall_t simcall) {
1063   return simgrid::simix::unmarshal<smx_storage_t>(simcall->args[0]);
1064 }
1065 static inline void simcall_storage_get_properties__set__storage(smx_simcall_t simcall, smx_storage_t arg) {
1066     simgrid::simix::marshal<smx_storage_t>(simcall->args[0], arg);
1067 }
1068 static inline xbt_dict_t simcall_storage_get_properties__get__result(smx_simcall_t simcall){
1069     return simgrid::simix::unmarshal<xbt_dict_t>(simcall->result);
1070 }
1071 static inline void simcall_storage_get_properties__set__result(smx_simcall_t simcall, xbt_dict_t result){
1072     simgrid::simix::marshal<xbt_dict_t>(simcall->result, result);
1073 }
1074
1075 static inline smx_storage_t simcall_storage_get_content__get__storage(smx_simcall_t simcall) {
1076   return simgrid::simix::unmarshal<smx_storage_t>(simcall->args[0]);
1077 }
1078 static inline void simcall_storage_get_content__set__storage(smx_simcall_t simcall, smx_storage_t arg) {
1079     simgrid::simix::marshal<smx_storage_t>(simcall->args[0], arg);
1080 }
1081 static inline xbt_dict_t simcall_storage_get_content__get__result(smx_simcall_t simcall){
1082     return simgrid::simix::unmarshal<xbt_dict_t>(simcall->result);
1083 }
1084 static inline void simcall_storage_get_content__set__result(smx_simcall_t simcall, xbt_dict_t result){
1085     simgrid::simix::marshal<xbt_dict_t>(simcall->result, result);
1086 }
1087
1088 static inline const char* simcall_asr_get_properties__get__name(smx_simcall_t simcall) {
1089   return simgrid::simix::unmarshal<const char*>(simcall->args[0]);
1090 }
1091 static inline void simcall_asr_get_properties__set__name(smx_simcall_t simcall, const char* arg) {
1092     simgrid::simix::marshal<const char*>(simcall->args[0], arg);
1093 }
1094 static inline xbt_dict_t simcall_asr_get_properties__get__result(smx_simcall_t simcall){
1095     return simgrid::simix::unmarshal<xbt_dict_t>(simcall->result);
1096 }
1097 static inline void simcall_asr_get_properties__set__result(smx_simcall_t simcall, xbt_dict_t result){
1098     simgrid::simix::marshal<xbt_dict_t>(simcall->result, result);
1099 }
1100
1101 static inline int simcall_mc_random__get__min(smx_simcall_t simcall) {
1102   return simgrid::simix::unmarshal<int>(simcall->args[0]);
1103 }
1104 static inline void simcall_mc_random__set__min(smx_simcall_t simcall, int arg) {
1105     simgrid::simix::marshal<int>(simcall->args[0], arg);
1106 }
1107 static inline int simcall_mc_random__get__max(smx_simcall_t simcall) {
1108   return simgrid::simix::unmarshal<int>(simcall->args[1]);
1109 }
1110 static inline void simcall_mc_random__set__max(smx_simcall_t simcall, int arg) {
1111     simgrid::simix::marshal<int>(simcall->args[1], arg);
1112 }
1113 static inline int simcall_mc_random__get__result(smx_simcall_t simcall){
1114     return simgrid::simix::unmarshal<int>(simcall->result);
1115 }
1116 static inline void simcall_mc_random__set__result(smx_simcall_t simcall, int result){
1117     simgrid::simix::marshal<int>(simcall->result, result);
1118 }
1119
1120 static inline smx_activity_t simcall_set_category__get__synchro(smx_simcall_t simcall) {
1121   return simgrid::simix::unmarshal<smx_activity_t>(simcall->args[0]);
1122 }
1123 static inline void simcall_set_category__set__synchro(smx_simcall_t simcall, smx_activity_t arg) {
1124     simgrid::simix::marshal<smx_activity_t>(simcall->args[0], arg);
1125 }
1126 static inline const char* simcall_set_category__get__category(smx_simcall_t simcall) {
1127   return simgrid::simix::unmarshal<const char*>(simcall->args[1]);
1128 }
1129 static inline void simcall_set_category__set__category(smx_simcall_t simcall, const char* arg) {
1130     simgrid::simix::marshal<const char*>(simcall->args[1], arg);
1131 }
1132
1133 static inline std::function<void()> const* simcall_run_kernel__get__code(smx_simcall_t simcall) {
1134   return simgrid::simix::unmarshal<std::function<void()> const*>(simcall->args[0]);
1135 }
1136 static inline void simcall_run_kernel__set__code(smx_simcall_t simcall, std::function<void()> const* arg) {
1137     simgrid::simix::marshal<std::function<void()> const*>(simcall->args[0], arg);
1138 }
1139
1140 static inline std::function<void()> const* simcall_run_blocking__get__code(smx_simcall_t simcall) {
1141   return simgrid::simix::unmarshal<std::function<void()> const*>(simcall->args[0]);
1142 }
1143 static inline void simcall_run_blocking__set__code(smx_simcall_t simcall, std::function<void()> const* arg) {
1144     simgrid::simix::marshal<std::function<void()> const*>(simcall->args[0], arg);
1145 }
1146
1147 /* The prototype of all simcall handlers, automatically generated for you */
1148
1149 XBT_PRIVATE void simcall_HANDLER_vm_suspend(smx_simcall_t simcall, sg_host_t ind_vm);
1150 XBT_PRIVATE void simcall_HANDLER_vm_resume(smx_simcall_t simcall, sg_host_t ind_vm);
1151 XBT_PRIVATE void simcall_HANDLER_vm_shutdown(smx_simcall_t simcall, sg_host_t ind_vm);
1152 XBT_PRIVATE void simcall_HANDLER_vm_save(smx_simcall_t simcall, sg_host_t ind_vm);
1153 XBT_PRIVATE void simcall_HANDLER_vm_restore(smx_simcall_t simcall, sg_host_t ind_vm);
1154 XBT_PRIVATE void simcall_HANDLER_process_kill(smx_simcall_t simcall, smx_actor_t process);
1155 XBT_PRIVATE void simcall_HANDLER_process_killall(smx_simcall_t simcall, int reset_pid);
1156 XBT_PRIVATE void simcall_HANDLER_process_suspend(smx_simcall_t simcall, smx_actor_t process);
1157 XBT_PRIVATE void simcall_HANDLER_process_resume(smx_simcall_t simcall, smx_actor_t process);
1158 XBT_PRIVATE void simcall_HANDLER_process_set_host(smx_simcall_t simcall, smx_actor_t process, sg_host_t dest);
1159 XBT_PRIVATE void simcall_HANDLER_process_join(smx_simcall_t simcall, smx_actor_t process, double timeout);
1160 XBT_PRIVATE void simcall_HANDLER_process_sleep(smx_simcall_t simcall, double duration);
1161 XBT_PRIVATE smx_activity_t simcall_HANDLER_execution_start(smx_simcall_t simcall, const char* name, double flops_amount, double priority, double bound);
1162 XBT_PRIVATE void simcall_HANDLER_execution_wait(smx_simcall_t simcall, smx_activity_t execution);
1163 XBT_PRIVATE smx_actor_t simcall_HANDLER_process_restart(smx_simcall_t simcall, smx_actor_t process);
1164 XBT_PRIVATE smx_activity_t simcall_HANDLER_comm_iprobe(smx_simcall_t simcall, smx_mailbox_t mbox, int type, int src, int tag, simix_match_func_t match_fun, void* data);
1165 XBT_PRIVATE void simcall_HANDLER_comm_send(smx_simcall_t simcall, smx_actor_t sender, smx_mailbox_t mbox, double task_size, double rate, void* src_buff, size_t src_buff_size, simix_match_func_t match_fun, simix_copy_data_func_t copy_data_fun, void* data, double timeout);
1166 XBT_PRIVATE smx_activity_t simcall_HANDLER_comm_isend(smx_simcall_t simcall, smx_actor_t sender, smx_mailbox_t mbox, double task_size, double rate, void* src_buff, size_t src_buff_size, simix_match_func_t match_fun, simix_clean_func_t clean_fun, simix_copy_data_func_t copy_data_fun, void* data, int detached);
1167 XBT_PRIVATE void simcall_HANDLER_comm_recv(smx_simcall_t simcall, smx_actor_t receiver, smx_mailbox_t mbox, void* dst_buff, size_t* dst_buff_size, simix_match_func_t match_fun, simix_copy_data_func_t copy_data_fun, void* data, double timeout, double rate);
1168 XBT_PRIVATE smx_activity_t simcall_HANDLER_comm_irecv(smx_simcall_t simcall, smx_actor_t receiver, smx_mailbox_t mbox, void* dst_buff, size_t* dst_buff_size, simix_match_func_t match_fun, simix_copy_data_func_t copy_data_fun, void* data, double rate);
1169 XBT_PRIVATE void simcall_HANDLER_comm_waitany(smx_simcall_t simcall, xbt_dynar_t comms, double timeout);
1170 XBT_PRIVATE void simcall_HANDLER_comm_wait(smx_simcall_t simcall, smx_activity_t comm, double timeout);
1171 XBT_PRIVATE void simcall_HANDLER_comm_test(smx_simcall_t simcall, smx_activity_t comm);
1172 XBT_PRIVATE void simcall_HANDLER_comm_testany(smx_simcall_t simcall, smx_activity_t* comms, size_t count);
1173 XBT_PRIVATE smx_mutex_t simcall_HANDLER_mutex_init(smx_simcall_t simcall);
1174 XBT_PRIVATE void simcall_HANDLER_mutex_lock(smx_simcall_t simcall, smx_mutex_t mutex);
1175 XBT_PRIVATE int simcall_HANDLER_mutex_trylock(smx_simcall_t simcall, smx_mutex_t mutex);
1176 XBT_PRIVATE void simcall_HANDLER_mutex_unlock(smx_simcall_t simcall, smx_mutex_t mutex);
1177 XBT_PRIVATE void simcall_HANDLER_cond_wait(smx_simcall_t simcall, smx_cond_t cond, smx_mutex_t mutex);
1178 XBT_PRIVATE void simcall_HANDLER_cond_wait_timeout(smx_simcall_t simcall, smx_cond_t cond, smx_mutex_t mutex, double timeout);
1179 XBT_PRIVATE void simcall_HANDLER_sem_release(smx_simcall_t simcall, smx_sem_t sem);
1180 XBT_PRIVATE int simcall_HANDLER_sem_would_block(smx_simcall_t simcall, smx_sem_t sem);
1181 XBT_PRIVATE void simcall_HANDLER_sem_acquire(smx_simcall_t simcall, smx_sem_t sem);
1182 XBT_PRIVATE void simcall_HANDLER_sem_acquire_timeout(smx_simcall_t simcall, smx_sem_t sem, double timeout);
1183 XBT_PRIVATE int simcall_HANDLER_sem_get_capacity(smx_simcall_t simcall, smx_sem_t sem);
1184 XBT_PRIVATE void simcall_HANDLER_file_read(smx_simcall_t simcall, smx_file_t fd, sg_size_t size, sg_host_t host);
1185 XBT_PRIVATE void simcall_HANDLER_file_write(smx_simcall_t simcall, smx_file_t fd, sg_size_t size, sg_host_t host);
1186 XBT_PRIVATE void simcall_HANDLER_file_open(smx_simcall_t simcall, const char* fullpath, sg_host_t host);
1187 XBT_PRIVATE void simcall_HANDLER_file_close(smx_simcall_t simcall, smx_file_t fd, sg_host_t host);
1188 XBT_PRIVATE sg_size_t simcall_HANDLER_file_get_size(smx_simcall_t simcall, smx_file_t fd);
1189 XBT_PRIVATE sg_size_t simcall_HANDLER_file_tell(smx_simcall_t simcall, smx_file_t fd);
1190 XBT_PRIVATE int simcall_HANDLER_file_seek(smx_simcall_t simcall, smx_file_t fd, sg_offset_t offset, int origin);
1191 XBT_PRIVATE xbt_dynar_t simcall_HANDLER_file_get_info(smx_simcall_t simcall, smx_file_t fd);
1192 XBT_PRIVATE int simcall_HANDLER_file_move(smx_simcall_t simcall, smx_file_t fd, const char* fullpath);
1193 XBT_PRIVATE sg_size_t simcall_HANDLER_storage_get_free_size(smx_simcall_t simcall, smx_storage_t storage);
1194 XBT_PRIVATE sg_size_t simcall_HANDLER_storage_get_used_size(smx_simcall_t simcall, smx_storage_t name);
1195 XBT_PRIVATE xbt_dict_t simcall_HANDLER_asr_get_properties(smx_simcall_t simcall, const char* name);
1196 XBT_PRIVATE int simcall_HANDLER_mc_random(smx_simcall_t simcall, int min, int max);