summaryrefslogtreecommitdiff
path: root/datastore-leveldb/src/server.cpp
diff options
context:
space:
mode:
authorEbus-at-dockstar <ebus@dockstar>2014-09-18 18:01:01 +0200
committerEbus-at-dockstar <ebus@dockstar>2014-09-18 18:01:01 +0200
commitced20d7fc3ee98005ea8a2d09d2a0d99361ff0a4 (patch)
tree56dd9df62c3adbb6d186930e52a6a8a3fc2a953e /datastore-leveldb/src/server.cpp
parent87e143e62d853ec60771141cadb2a6b1294e9de6 (diff)
downloadebus-alt-ced20d7fc3ee98005ea8a2d09d2a0d99361ff0a4.tar.gz
ebus-alt-ced20d7fc3ee98005ea8a2d09d2a0d99361ff0a4.zip
add /api/list
Diffstat (limited to 'datastore-leveldb/src/server.cpp')
-rw-r--r--datastore-leveldb/src/server.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/datastore-leveldb/src/server.cpp b/datastore-leveldb/src/server.cpp
index 83f4cdb..3fc0181 100644
--- a/datastore-leveldb/src/server.cpp
+++ b/datastore-leveldb/src/server.cpp
@@ -95,6 +95,9 @@ int main(int argc, char **argv) {
web_handler.push_front(std::make_pair(
web_handle_api_range_size_R,
web_handle_api_range_size));
+ web_handler.push_front(std::make_pair(
+ web_handle_api_list_R,
+ web_handle_api_list));
// Signals: handle C-c
struct sigaction action;