X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9befdbc4af1ffa9c3baf9d55addd6df644c4346f..f3882bfdbd3264807a5d3a9d1b05424f417f9d28:/src/bindings/lua/lua_stub_generator.h diff --git a/src/bindings/lua/lua_stub_generator.h b/src/bindings/lua/lua_stub_generator.h new file mode 100644 index 0000000000..7d393f2013 --- /dev/null +++ b/src/bindings/lua/lua_stub_generator.h @@ -0,0 +1,29 @@ +/* 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 GRAS_STUB_GENERATOR_H +#define GRAS_STUB_GENERATOR_H + +#include "xbt/dynar.h" +#include "xbt/dict.h" +xbt_dict_t process_function_set; +xbt_dynar_t process_list; +xbt_dict_t machine_set; + +typedef struct s_process_t { + int argc; + char **argv; + char *host; +} s_process_t; + +char *warning; + +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); + +#endif