5 /* Copyright (c) 2003, 2004 Martin Quinson. All rights reserved. */
7 /* This program is free software; you can redistribute it and/or modify it
8 * under the terms of the license (GNU LGPL) which comes with this package. */
10 #include "xbt/sysdep.h"
12 #include "xbt/error.h"
13 #include "xbt/dynar.h"
14 #include "xbt/config.h"
16 #include "xbt/module.h" /* this module */
18 #include "xbt_modinter.h" /* prototype of other module's init/exit in XBT */
20 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(module,xbt, "module handling");
26 xbt_module_new_fct_t new;
27 xbt_module_finalize_fct_t finalize;
30 /** @brief Initialize the xbt mechanisms. */
32 xbt_init(int *argc, char **argv) {
33 static short int first_run = 1;
38 VERB0("Initialize XBT");
40 xbt_log_init(argc,argv);
43 /** @brief Finalize the xbt mechanisms. */