summaryrefslogtreecommitdiff
path: root/src/apiHandler.h
diff options
context:
space:
mode:
authorMarc Lasch <mlasch@mailbox.org>2015-08-12 00:09:46 +0200
committerMarc Lasch <mlasch@mailbox.org>2015-08-12 00:09:46 +0200
commitaa80b95124752095533cff761c3287d756ca26cd (patch)
treee6a71ca06640dc92041b7c34f4e0925cf3030b97 /src/apiHandler.h
parent9f7530aa40c4197a8c1979b37baab43ba2e6205f (diff)
downloadnetgraph-aa80b95124752095533cff761c3287d756ca26cd.tar.gz
netgraph-aa80b95124752095533cff761c3287d756ca26cd.zip
not working now
Diffstat (limited to 'src/apiHandler.h')
-rw-r--r--src/apiHandler.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/apiHandler.h b/src/apiHandler.h
new file mode 100644
index 0000000..6909fdd
--- /dev/null
+++ b/src/apiHandler.h
@@ -0,0 +1,22 @@
+#ifndef _APIHANDLER_
+#define APIHANDLER
+
+#include <iostream>
+#include <string>
+#include <vector>
+#include <regex>
+#include "mongoose.h"
+
+using namespace std;
+
+class apiHandler {
+private:
+ struct mg_connection *MyConnection;
+
+public:
+ apiHandler(struct mg_connection*);
+ ~apiHandler(void);
+ int processRequest();
+};
+
+#endif