+/* Copyright (c) 2010-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. */
#ifndef SIMGRID_LUA_H
#define SIMGRID_LUA_H
-#include <stdio.h>
-#include <lauxlib.h>
-#include <lualib.h>
-#include "msg/msg.h"
-#include "simdag/simdag.h"
-#include <gras.h>
-#include "xbt.h"
-#include "xbt/dynar.h"
-#include "xbt/dict.h"
-#include "xbt/sysdep.h"
-#include "xbt/function_types.h"
-#include "xbt/log.h"
-#include "surf/surfxml_parse.h"
-#include "surf/surf.h"
-#include <stdarg.h>
-
-extern xbt_dict_t process_function_set;
-extern xbt_dynar_t process_list;
-extern xbt_dict_t machine_set;
-
-typedef struct s_process_t {
- int argc;
- char **argv;
- char *host;
-} s_process_t;
-
-void s_process_free(void *process);
-
-/* UNIX files */
-void generate_sim(const char *project);
-void generate_rl(const char *project);
-void generate_makefile_am(const char *project);
-void generate_makefile_local(const char *project);
+#include <lua.h>
/* ********************************************************************************* */
-/* Console functions */
+/* Plaftorm functions */
/* ********************************************************************************* */
-// Public Functions
+
int console_open(lua_State *L);
int console_close(lua_State *L);