Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
e551413b22f9c993a65bb19a2802b1a20207414a
[simgrid.git] / src / bindings / lua / lua_private.h
1 /* Copyright (c) 2010, 2012-2014. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 /* SimGrid Lua bindings                                                     */
8
9 #include "simgrid_lua.h"
10 #include "msg/msg.h"
11
12 void sglua_register_task_functions(lua_State* L);
13 msg_task_t sglua_check_task(lua_State* L, int index);
14 void sglua_task_register(lua_State* L);
15 void sglua_task_unregister(lua_State* L, msg_task_t task);
16
17 void sglua_register_comm_functions(lua_State* L);
18 msg_comm_t sglua_check_comm(lua_State* L, int index);
19 void sglua_push_comm(lua_State* L, msg_comm_t comm);
20
21 void sglua_register_host_functions(lua_State* L);
22 msg_host_t sglua_check_host(lua_State* L, int index);
23
24 void sglua_register_process_functions(lua_State* L);
25
26 void sglua_register_platf_functions(lua_State* L);
27
28 const char* sglua_get_msg_error(msg_error_t err);