summaryrefslogtreecommitdiff
path: root/datastore-leveldb/src/web.h
diff options
context:
space:
mode:
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*/