Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Stop using internal interface of dynars related to cursors
[simgrid.git] / include / gras / virtu.h
index 81d5bb0..ff0b874 100644 (file)
 
 SG_BEGIN_DECL()
 
+/* Initialization of the simulation world. Do not call them in RL. 
+   Indeed, do not call them at all. Let gras_stub_generator do it for you. */
+void gras_global_init(int *argc, char **argv);
+void gras_create_environment(const char *file);
+void gras_function_register(const char *name, xbt_main_func_t code);
+void gras_launch_application(const char *file);
+void gras_clean(void);
+void gras_main(void);
+
+
 /** @addtogroup GRAS_virtu  
  *  @brief System call abstraction layer.
  *
@@ -49,7 +59,7 @@ XBT_PUBLIC(int) gras_os_myport(void);
  * Returns the process ID of the current process.  (This is often used
    by routines that generate unique temporary file names.)
  */
-XBT_PUBLIC(long int) gras_os_getpid(void);
+XBT_PUBLIC(int) gras_os_getpid(void);
 
 /** @} */
 SG_END_DECL()