- /* registered callbacks for each message */
- gras_dynar_t *cbl_list; /* elm type: gras_cblist_t */
-
+#include "xbt/function_types.h"
+#include "xbt/sysdep.h"
+#include "xbt/log.h"
+#include "xbt/set.h"
+#include "gras/virtu.h"
+#include "gras/process.h"
+
+SG_BEGIN_DECL()
+
+/* shutdown the module mechanism (world-wide cleanups) */
+void gras_moddata_exit(void);
+/* shutdown this process wrt module mecanism (process-wide cleanups) */
+void gras_moddata_leave(void);
+
+
+/* Perform the various intialisations needed by gras. Each process must run it */
+XBT_PUBLIC(void) gras_process_init(void);
+
+/* Frees the memory allocated by gras. Processes should run it */
+XBT_PUBLIC(void) gras_process_exit(void);
+