X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/eed8daedf7c2d58e0db96826205f138cedb9cc5a..ee0aeec0c91b0d36df626e0d74ac872ae7ddac44:/include/gras/virtu.h diff --git a/include/gras/virtu.h b/include/gras/virtu.h index 13141489c8..d4b80ca809 100644 --- a/include/gras/virtu.h +++ b/include/gras/virtu.h @@ -1,8 +1,7 @@ -/* $Id$ */ - /* gras/virtu.h - public interface to virtualization (cross-OS portability) */ -/* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */ +/* Copyright (c) 2004, 2005, 2006, 2007, 2009, 2010. 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. */ @@ -10,16 +9,27 @@ #ifndef GRAS_VIRTU_H #define GRAS_VIRTU_H -#include "xbt/misc.h" /* SG_BEGIN_DECL */ +#include "xbt/misc.h" /* SG_BEGIN_DECL */ +#include "xbt/time.h" +#include "xbt/dict.h" 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_function_register_default(xbt_main_func_t code); +void gras_launch_application(const char *file); +void gras_load_environment_script(const char *file); +void gras_clean(void); +void gras_main(void); + + /** @addtogroup GRAS_virtu - * @brief System call abstraction layer (Virtualization). + * @brief System call abstraction layer. * - *
Top | [\ref index]::[\ref GRAS_API] - * |
Prev | [\ref GRAS_timer] - * |
Next | [\ref GRAS_globals] |