summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-06-17 02:51:49 +0000
committerChristian Grothoff <christian@grothoff.org>2009-06-17 02:51:49 +0000
commitaba2b9141f994af73567e39cf0d57116650db112 (patch)
tree224f33504561591eb3d0b71a80e9e82c6852c080
parent440bab102fc945dd51bd98f07e25f9375f58fa21 (diff)
datastore
-rw-r--r--TODO2
-rw-r--r--contrib/defaults.conf9
-rw-r--r--src/include/gnunet_util_lib.h1
3 files changed, 12 insertions, 0 deletions
diff --git a/TODO b/TODO
index f57bd0ad9..28ee22259 100644
--- a/TODO
+++ b/TODO
@@ -60,7 +60,9 @@ Datastores:
+ implement service (datastore + talks to plugin)
+ implement library (talks to service)
+ implement sqlite plugin (talks to DB)
+ + fix testcases (make them use CPS, complete their inner workings...)
* implement sqlite-based dstore services
+ + design API
+ implement library (talks to service)
+ implement service (talks to plugin)
+ implement sqlite plugin (talks to DB)
diff --git a/contrib/defaults.conf b/contrib/defaults.conf
index 374af0cc6..a7ca884d7 100644
--- a/contrib/defaults.conf
+++ b/contrib/defaults.conf
@@ -159,5 +159,14 @@ PORT = 8080
[datastore]
+PORT = 2093
+HOSTNAME = localhost
+HOME = $SERVICEHOME
+CONFIG = $DEFAULTCONFIG
+BINARY = gnunet-service-datastore
+ACCEPT_FROM = 127.0.0.1;
+ACCEPT_FROM6 = ::1;
+ALLOW_SHUTDOWN = YES
QUOTA = 10000000
BLOOMFILTER = $SERVICEHOME/fs/bloomfilter
+DATABASE = sqlite
diff --git a/src/include/gnunet_util_lib.h b/src/include/gnunet_util_lib.h
index 6354e28fa..40686b189 100644
--- a/src/include/gnunet_util_lib.h
+++ b/src/include/gnunet_util_lib.h
@@ -44,6 +44,7 @@ extern "C"
#include "gnunet_disk_lib.h"
#include "gnunet_getopt_lib.h"
#include "gnunet_network_lib.h"
+#include "gnunet_os_lib.h"
#include "gnunet_plugin_lib.h"
#include "gnunet_program_lib.h"
#include "gnunet_protocols.h"