[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r27307 - gnunet/src/experimentation
From: |
gnunet |
Subject: |
[GNUnet-SVN] r27307 - gnunet/src/experimentation |
Date: |
Mon, 27 May 2013 10:53:39 +0200 |
Author: wachs
Date: 2013-05-27 10:53:34 +0200 (Mon, 27 May 2013)
New Revision: 27307
Added:
gnunet/src/experimentation/gnunet-daemon-experimentation_scheduler.c
gnunet/src/experimentation/gnunet-daemon-experimentation_storage.c
Modified:
gnunet/src/experimentation/Makefile.am
gnunet/src/experimentation/gnunet-daemon-experimentation.c
gnunet/src/experimentation/gnunet-daemon-experimentation.h
Log:
new components
Modified: gnunet/src/experimentation/Makefile.am
===================================================================
--- gnunet/src/experimentation/Makefile.am 2013-05-27 08:22:58 UTC (rev
27306)
+++ gnunet/src/experimentation/Makefile.am 2013-05-27 08:53:34 UTC (rev
27307)
@@ -36,7 +36,9 @@
gnunet-daemon-experimentation.c \
gnunet-daemon-experimentation_capabilities.c \
gnunet-daemon-experimentation_nodes.c \
- gnunet-daemon-experimentation_experiments.c
+ gnunet-daemon-experimentation_scheduler.c \
+ gnunet-daemon-experimentation_experiments.c \
+ gnunet-daemon-experimentation_storage.c
gnunet_daemon_experimentation_LDADD = \
$(top_builddir)/src/core/libgnunetcore.la \
$(top_builddir)/src/statistics/libgnunetstatistics.la \
Modified: gnunet/src/experimentation/gnunet-daemon-experimentation.c
===================================================================
--- gnunet/src/experimentation/gnunet-daemon-experimentation.c 2013-05-27
08:22:58 UTC (rev 27306)
+++ gnunet/src/experimentation/gnunet-daemon-experimentation.c 2013-05-27
08:53:34 UTC (rev 27307)
@@ -54,8 +54,11 @@
shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("Experimentation daemon shutting down
...\n"));
+
+ GNUNET_EXPERIMENTATION_scheduler_stop ();
GNUNET_EXPERIMENTATION_nodes_stop ();
GNUNET_EXPERIMENTATION_experiments_stop ();
+ GNUNET_EXPERIMENTATION_storage_stop ();
GNUNET_EXPERIMENTATION_capabilities_stop ();
}
@@ -83,12 +86,14 @@
}
GNUNET_EXPERIMENTATION_capabilities_start ();
+ GNUNET_EXPERIMENTATION_storage_start ();
if (GNUNET_SYSERR == GNUNET_EXPERIMENTATION_experiments_start ())
{
GNUNET_SCHEDULER_add_now (&shutdown_task, NULL);
return;
}
GNUNET_EXPERIMENTATION_nodes_start ();
+ GNUNET_EXPERIMENTATION_scheduler_start ();
GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &shutdown_task,
NULL);
Modified: gnunet/src/experimentation/gnunet-daemon-experimentation.h
===================================================================
--- gnunet/src/experimentation/gnunet-daemon-experimentation.h 2013-05-27
08:22:58 UTC (rev 27306)
+++ gnunet/src/experimentation/gnunet-daemon-experimentation.h 2013-05-27
08:53:34 UTC (rev 27307)
@@ -194,4 +194,19 @@
GNUNET_EXPERIMENTATION_experiments_stop ();
+/**
+ * Start the storage component
+ */
+void
+GNUNET_EXPERIMENTATION_storage_start ();
+
+
+
+/**
+ * Stop the storage component
+ */
+void
+GNUNET_EXPERIMENTATION_storage_stop ();
+
+
/* end of gnunet-daemon-experimentation.h */
Added: gnunet/src/experimentation/gnunet-daemon-experimentation_scheduler.c
===================================================================
--- gnunet/src/experimentation/gnunet-daemon-experimentation_scheduler.c
(rev 0)
+++ gnunet/src/experimentation/gnunet-daemon-experimentation_scheduler.c
2013-05-27 08:53:34 UTC (rev 27307)
@@ -0,0 +1,54 @@
+/*
+ This file is part of GNUnet.
+ (C) 2009 Christian Grothoff (and other contributing authors)
+
+ GNUnet is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GNUnet is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNUnet; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file experimentation/gnunet-daemon-experimentation_scheduler.c
+ * @brief experimentation daemon: execute experiments
+ * @author Christian Grothoff
+ * @author Matthias Wachs
+ */
+#include "platform.h"
+#include "gnunet_getopt_lib.h"
+#include "gnunet_util_lib.h"
+#include "gnunet_core_service.h"
+#include "gnunet_statistics_service.h"
+#include "gnunet-daemon-experimentation.h"
+
+
+/**
+ * Start the scheduler component
+ */
+void
+GNUNET_EXPERIMENTATION_scheduler_start ()
+{
+
+}
+
+
+/**
+ * Stop the scheduler component
+ */
+void
+GNUNET_EXPERIMENTATION_scheduler_stop ()
+{
+
+}
+
+/* end of gnunet-daemon-experimentation_scheduler.c */
Added: gnunet/src/experimentation/gnunet-daemon-experimentation_storage.c
===================================================================
--- gnunet/src/experimentation/gnunet-daemon-experimentation_storage.c
(rev 0)
+++ gnunet/src/experimentation/gnunet-daemon-experimentation_storage.c
2013-05-27 08:53:34 UTC (rev 27307)
@@ -0,0 +1,54 @@
+/*
+ This file is part of GNUnet.
+ (C) 2009 Christian Grothoff (and other contributing authors)
+
+ GNUnet is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published
+ by the Free Software Foundation; either version 3, or (at your
+ option) any later version.
+
+ GNUnet is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNUnet; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+/**
+ * @file experimentation/gnunet-daemon-experimentation_storage.c
+ * @brief experimentation daemon: store results
+ * @author Christian Grothoff
+ * @author Matthias Wachs
+ */
+#include "platform.h"
+#include "gnunet_getopt_lib.h"
+#include "gnunet_util_lib.h"
+#include "gnunet_core_service.h"
+#include "gnunet_statistics_service.h"
+#include "gnunet-daemon-experimentation.h"
+
+
+/**
+ * Start the storage component
+ */
+void
+GNUNET_EXPERIMENTATION_storage_start ()
+{
+
+}
+
+
+/**
+ * Stop the storage component
+ */
+void
+GNUNET_EXPERIMENTATION_storage_stop ()
+{
+
+}
+
+/* end of gnunet-daemon-experimentation_storage.c */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r27307 - gnunet/src/experimentation,
gnunet <=