summaryrefslogtreecommitdiff
path: root/datastore-leveldb/src/web.h
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2013-04-18 14:35:49 +0200
committerYves Fischer <yvesf-git@xapek.org>2013-04-18 14:35:49 +0200
commite5342fa4f51b3fcbf931cabeb996183f96ceedbc (patch)
tree430887755433e59a2f2b82705f6290ef23affa7a /datastore-leveldb/src/web.h
parent1ba325a1679acc7692cb9f674cfbe452cf763e12 (diff)
downloadebus-alt-e5342fa4f51b3fcbf931cabeb996183f96ceedbc.tar.gz
ebus-alt-e5342fa4f51b3fcbf931cabeb996183f96ceedbc.zip
leveldb: split up in 3 files
Diffstat (limited to 'datastore-leveldb/src/web.h')
-rw-r--r--datastore-leveldb/src/web.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/datastore-leveldb/src/web.h b/datastore-leveldb/src/web.h
new file mode 100644
index 0000000..1360d3d
--- /dev/null
+++ b/datastore-leveldb/src/web.h
@@ -0,0 +1,18 @@
+#ifndef HAVE_WEB_H
+#define HAVE_WEB_H
+
+extern "C" {
+#include "mongoose.h"
+}
+#ifdef __clang__
+#include <cstddef>
+#warning "Using clang"
+#define BOOST_NO_CXX11_NUMERIC_LIMITS
+#endif
+#include <boost/regex.hpp>
+
+void web_handle_api_value(const boost::cmatch &match, struct mg_connection *conn);
+
+void web_handle_api_range(const boost::cmatch &match, struct mg_connection *conn);
+
+#endif/*HAVE_WEB_H*/