gras/DataDesc/ddt_parse.yy.l gras/DataDesc/ddt_parse.yy.c \
\
amok/Bandwidth/bandwidth_private.h
+ amok/amok_modinter.h
# gras_private.h
gras/Msg/msg.c gras/Msg/rpc.c gras/Msg/timer.c \
gras/Msg/msg_interface.h gras/Msg/msg_private.h \
\
- gras/Virtu/process.c
+ gras/Virtu/process.c gras/Virtu/gras_module.c
RL_SRC= \
gras/Transport/rl_transport.c \
gras/Msg/sg_msg.c
AMOK_SRC= \
- amok/base.c \
+ amok/amok_base.c \
amok/Bandwidth/bandwidth.c amok/Bandwidth/saturate.c \
amok/PeerManagement/peermanagement.c
--- /dev/null
+/* $Id$ */
+
+/* base - several addons to do specific stuff not in GRAS itself */
+
+/* Copyright (c) 2003, 2004 Martin Quinson. 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. */
+
+#include "gras.h"
+#include "amok/amok_modinter.h"
+
+XBT_LOG_NEW_SUBCATEGORY(amok,XBT_LOG_ROOT_CAT,"All AMOK categories");
+
+void amok_init(void) {
+
+ /* Create all the modules */
+ amok_pm_modulecreate();
+}
+
+void amok_exit(void) {
+ /* FIXME: No real module mechanism in GRAS so far, nothing to do. */
+}
+
--- /dev/null
+/* $Id$ */
+
+/* amok modinter - interface to AMOK modules initialization and such */
+
+/* Copyright (c) 2006 Martin Quinson. 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. */
+
+#ifndef AMOK_BASE_H
+#define AMOK_BASE_H
+
+void amok_init(void);
+void amok_exit(void);
+
+/* module creation functions */
+void amok_pm_modulecreate(void);
+
+#endif /* AMOK_BASE_H */