Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Automatically generated files.
[simgrid.git] / tools / gras / gras_stub_generator.h
1 /*      $Id$     */
2
3 /* gras_stub_generator - creates the main() to use a GRAS program           */
4
5 /* Copyright (c) 2003-2007 Martin Quinson, Arnaud Legrand, Malek Cherier.   */
6 /* All rights reserved.                                                     */
7
8 /* This program is free software; you can redistribute it and/or modify it
9  * under the terms of the license (GNU LGPL) which comes with this package. */
10
11 #ifndef GRAS_STUB_GENERATOR_H
12 #define GRAS_STUB_GENERATOR_H
13
14 #define WARN "/***********\n * DO NOT EDIT! THIS FILE HAS BEEN AUTOMATICALLY GENERATED FROM %s BY gras_stub_generator\n ***********/\n"
15
16 #include "xbt/dynar.h"
17 #include "xbt/dict.h"
18 xbt_dict_t process_function_set;
19 xbt_dynar_t process_list;
20 xbt_dict_t machine_set;
21
22 typedef struct s_process_t {
23   int argc;
24   char **argv;
25   char *host;
26 } s_process_t;
27 char *warning;
28
29 void s_process_free(void *process);
30
31 /* UNIX files */
32 void generate_sim(char *project);
33 void generate_rl(char *project);
34 void generate_makefile_am(char *project, char *deployment);
35 void generate_makefile_local(char *project, char *deployment);
36
37
38 /*
39  * Generate a borland simulation poject file.
40  * @param name The name of the simulation project
41  */
42 void
43 generate_borland_simulation_project(const char* name);
44
45 /*
46  * Generate a borland project file for real life.
47  * @param name The name of the project to create.
48  */
49 void
50 generate_borland_real_life_project(const char* name);
51
52
53 /*
54  * Create the Microsoft visual C++ file project for the simulation.
55  */
56 int
57 generate_simulation_dsp_file(const char* project_name);
58
59 /*
60  * Create the Microsoft visual C++ real life project file.
61  */
62 int
63 generate_real_live_dsp_file(const char* project_name);
64
65
66 #endif