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.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/datastore-leveldb/src/web.h b/datastore-leveldb/src/web.h
new file mode 100644
index 0000000..a9d4593
--- /dev/null
+++ b/datastore-leveldb/src/web.h
@@ -0,0 +1,21 @@
+#ifndef HAVE_WEB_H
+#define HAVE_WEB_H
+
+extern "C" {
+#include "mongoose.h"
+}
+#include <boost/regex.hpp>
+
+extern const boost::regex web_handle_api_value_R;
+void web_handle_api_value(const boost::cmatch &match, struct mg_connection *conn);
+
+extern const boost::regex web_handle_api_value_timestamp_R;
+void web_handle_api_value_timestamp(const boost::cmatch &match, struct mg_connection *conn);
+
+extern const boost::regex web_handle_api_range_R;
+void web_handle_api_range(const boost::cmatch &match, struct mg_connection *conn);
+
+extern const boost::regex web_handle_api_range_size_R;
+void web_handle_api_range_size(const boost::cmatch &match, struct mg_connection *conn);
+
+#endif/*HAVE_WEB_H*/