diff --git a/EntryPoint.h b/EntryPoint.h
new file mode 100644
index 0000000..5069a2a
--- /dev/null
+++ b/EntryPoint.h
@@ -0,0 +1,18 @@
+#ifndef __EntryPoint_h__
+#define __EntryPoint_h__
+
+namespace http {
+
+ class EntryPoint {
+
+ public:
+ coreutils::MString url;
+ coreutils::MString flowName;
+ Flow flow;
+
+ };
+
+}
+
+#endif
+
\ No newline at end of file
diff --git a/FlowManager.h b/FlowManager.h
new file mode 100644
index 0000000..b8c2452
--- /dev/null
+++ b/FlowManager.h
@@ -0,0 +1,18 @@
+#ifndef __FlowManager_h__
+#define __FlowManager_h__
+
+namespace http {
+
+ class FlowManager {
+
+ public:
+ FlowManager();
+
+
+
+
+ };
+
+}
+
+#endif
\ No newline at end of file
diff --git a/HTTPServer b/HTTPServer
index c461dca..425d242 100755
Binary files a/HTTPServer and b/HTTPServer differ
diff --git a/_init.h b/_init.h
new file mode 100644
index 0000000..0227212
--- /dev/null
+++ b/_init.h
@@ -0,0 +1,15 @@
+#ifndef ___init_h__
+#define ___init_h__
+
+namespace http {
+
+ class _init : ActionQueue {
+
+ public:
+ _init();
+
+ };
+
+}
+
+#endif
diff --git a/readit b/readit
deleted file mode 100644
index 7106dd1..0000000
--- a/readit
+++ /dev/null
@@ -1,2808 +0,0 @@
-rm: cannot remove '*~': No such file or directory
-In file included from HTTPPage.h:4,
- from __index.h:4,
- from HTTPPageList.h:6,
- from HTTPServer.h:6,
- from HTTPPUTHandler.cpp:3:
-HTTPParameters.h: In constructor ‘http::HTTPParameters::HTTPParameters(http::HTTPRequest&, core::TCPSession*, http::HTTPSession*, std::stringstream&, http::HTTPActionList&)’:
-HTTPParameters.h:30:37: error: ‘HTTPServer’ was not declared in this scope
- 30 | actionList(((HTTPServer *)(session->server)).actionList) {}
- | ^~~~~~~~~~
-HTTPParameters.h:30:49: error: expected primary-expression before ‘)’ token
- 30 | actionList(((HTTPServer *)(session->server)).actionList) {}
- | ^
-In file included from HTTPPageList.h:13,
- from HTTPServer.h:6,
- from HTTPPUTHandler.cpp:3:
-__welcome.h: In member function ‘virtual int http::__welcome::page(http::HTTPParameters&)’:
-__welcome.h:20:45: error: invalid use of incomplete type ‘class http::HTTPActionList’
- 20 | coreutils::ZString button1_Click(p.actionList.addAction(click));
- | ~~^~~~~~~~~~
-In file included from HTTPPage.h:4,
- from __index.h:4,
- from HTTPPageList.h:6,
- from HTTPServer.h:6,
- from HTTPPUTHandler.cpp:3:
-HTTPParameters.h:11:11: note: forward declaration of ‘class http::HTTPActionList’
- 11 | class HTTPActionList;
- | ^~~~~~~~~~~~~~
-In file included from HTTPPageList.h:13,
- from HTTPServer.h:6,
- from HTTPPUTHandler.cpp:3:
-__welcome.h: In member function ‘virtual bool http::__welcome::button1Click::action(http::HTTPParameters&)’:
-__welcome.h:38:32: error: no matching function for call to ‘http::__setupadmin::__setupadmin(http::HTTPParameters&)’
- 38 | page(__setupadmin(p), p);
- | ^
-In file included from __welcome.h:7,
- from HTTPPageList.h:13,
- from HTTPServer.h:6,
- from HTTPPUTHandler.cpp:3:
-__setupadmin.h:9:10: note: candidate: ‘constexpr http::__setupadmin::__setupadmin()’
- 9 | class __setupadmin : public HTTPPage {
- | ^~~~~~~~~~~~
-__setupadmin.h:9:10: note: candidate expects 0 arguments, 1 provided
-__setupadmin.h:9:10: note: candidate: ‘constexpr http::__setupadmin::__setupadmin(const http::__setupadmin&)’
-__setupadmin.h:9:10: note: no known conversion for argument 1 from ‘http::HTTPParameters’ to ‘const http::__setupadmin&’
-__setupadmin.h:9:10: note: candidate: ‘constexpr http::__setupadmin::__setupadmin(http::__setupadmin&&)’
-__setupadmin.h:9:10: note: no known conversion for argument 1 from ‘http::HTTPParameters’ to ‘http::__setupadmin&&’
-In file included from HTTPActionList.h:6,
- from HTTPServer.h:7,
- from HTTPParameters.h:6,
- from HTTPPage.h:4,
- from __index.h:4,
- from HTTPPageList.h:6,
- from HTTPPageList.cpp:1:
-FlowAction.h:14:27: error: ‘HTTPParameters’ has not been declared
- 14 | virtual bool action(HTTPParameters &p);
- | ^~~~~~~~~~~~~~
-In file included from HTTPPageList.h:15,
- from HTTPServer.h:6,
- from HTTPPUTHandler.cpp:3:
-__configure.h: In member function ‘virtual int http::__configure::page(http::HTTPParameters&)’:
-__configure.h:25:49: error: ‘httpSession’ was not declared in this scope
- 25 | p.data << "
Session Id: " << httpSession->getSessionId() << "" << std::endl;
- | ^~~~~~~~~~~
-In file included from HTTPParameters.h:6,
- from HTTPPage.h:4,
- from __index.h:4,
- from HTTPPageList.h:6,
- from HTTPPageList.cpp:1:
-HTTPServer.h:32:7: error: ‘HTTPPageList’ does not name a type
- 32 | HTTPPageList pageList;
- | ^~~~~~~~~~~~
-In file included from HTTPPage.h:4,
- from __index.h:4,
- from HTTPPageList.h:6,
- from HTTPPageList.cpp:1:
-HTTPParameters.h: In constructor ‘http::HTTPParameters::HTTPParameters(http::HTTPRequest&, core::TCPSession*, http::HTTPSession*, std::stringstream&, http::HTTPActionList&)’:
-HTTPParameters.h:30:66: error: invalid cast from type ‘core::TCPServer’ to type ‘http::HTTPServer*’
- 30 | actionList(((HTTPServer *)(session->server)).actionList) {}
- | ^
-In file included from __index.h:4,
- from HTTPPageList.h:6,
- from HTTPServer.h:6,
- from HTTPParameters.h:6,
- from HTTPPOSTHandler.cpp:2:
-HTTPPage.h:12:24: error: ‘HTTPParameters’ has not been declared
- 12 | virtual int page(HTTPParameters &p);
- | ^~~~~~~~~~~~~~
-In file included from HTTPPageList.h:6,
- from HTTPServer.h:6,
- from HTTPParameters.h:6,
- from HTTPPOSTHandler.cpp:2:
-__index.h:11:16: error: ‘HTTPParameters’ has not been declared
- 11 | int page(HTTPParameters &p) override {
- | ^~~~~~~~~~~~~~
-__index.h: In member function ‘virtual int http::__index::page(int&)’:
-__index.h:13:12: error: request for member ‘data’ in ‘p’, which is of non-class type ‘int’
- 13 | p.data << ""
- | ^~~~
-__index.h:26:12: error: request for member ‘httpRequest’ in ‘p’, which is of non-class type ‘int’
- 26 | p.httpRequest.response.addHeader("Content-Type", "text/html");
- | ^~~~~~~~~~~
-In file included from HTTPPageList.h:7,
- from HTTPServer.h:6,
- from HTTPParameters.h:6,
- from HTTPPOSTHandler.cpp:2:
-__script.h: At global scope:
-__script.h:10:16: error: ‘HTTPParameters’ has not been declared
- 10 | int page(HTTPParameters &p) override {
- | ^~~~~~~~~~~~~~
-In file included from HTTPPageList.h:13,
- from HTTPPageList.cpp:1:
-__welcome.h: At global scope:
-__welcome.h:37:15: error: ‘bool http::__welcome::button1Click::action(http::HTTPParameters&)’ marked ‘override’, but does not override
- 37 | bool action(HTTPParameters &p) override {
- | ^~~~~~
-In file included from HTTPPageList.h:16,
- from HTTPServer.h:6,
- from HTTPPUTHandler.cpp:3:
-__viewlist.h: In member function ‘virtual int http::__viewlist::page(http::HTTPParameters&)’:
-__viewlist.h:20:29: error: expected ‘;’ before ‘while’
- 20 | " "
- | ^
- | ;
- 21 |
- 22 | while(!directory.eod()) {
- | ~~~~~
-__script.h: In member function ‘virtual int http::__script::page(int&)’:
-__script.h:12:12: error: request for member ‘data’ in ‘p’, which is of non-class type ‘int’
- 12 | p.data << "function serverSend(url, type, receiver, formData, callback) {"
- | ^~~~
-__script.h:45:12: error: request for member ‘httpRequest’ in ‘p’, which is of non-class type ‘int’
- 45 | p.httpRequest.response.addHeader("Content-Type", "text/javascript");
- | ^~~~~~~~~~~
-In file included from HTTPPageList.h:8,
- from HTTPServer.h:6,
- from HTTPParameters.h:6,
- from HTTPPOSTHandler.cpp:2:
-__editview.h: At global scope:
-__editview.h:11:16: error: ‘HTTPParameters’ has not been declared
- 11 | int page(HTTPParameters &p) override {
- | ^~~~~~~~~~~~~~
-__editview.h: In member function ‘virtual int http::__editview::page(int&)’:
-__editview.h:14:68: error: request for member ‘httpRequest’ in ‘p’, which is of non-class type ‘int’
- 14 | sprintf(format, "/home/barant/jetserver/views/%s.view", p.httpRequest.uriValues["view_name"].str().c_str());
- | ^~~~~~~~~~~
-__welcome.h: In member function ‘bool http::__welcome::button1Click::action(http::HTTPParameters&)’:
-__welcome.h:38:32: error: no matching function for call to ‘http::__setupadmin::__setupadmin(http::HTTPParameters&)’
- 38 | page(__setupadmin(p), p);
- | ^
-In file included from __welcome.h:7,
- from HTTPPageList.h:13,
- from HTTPPageList.cpp:1:
-__setupadmin.h:9:10: note: candidate: ‘constexpr http::__setupadmin::__setupadmin()’
- 9 | class __setupadmin : public HTTPPage {
- | ^~~~~~~~~~~~
-__setupadmin.h:9:10: note: candidate expects 0 arguments, 1 provided
-__setupadmin.h:9:10: note: candidate: ‘constexpr http::__setupadmin::__setupadmin(const http::__setupadmin&)’
-__setupadmin.h:9:10: note: no known conversion for argument 1 from ‘http::HTTPParameters’ to ‘const http::__setupadmin&’
-__setupadmin.h:9:10: note: candidate: ‘constexpr http::__setupadmin::__setupadmin(http::__setupadmin&&)’
-__setupadmin.h:9:10: note: no known conversion for argument 1 from ‘http::HTTPParameters’ to ‘http::__setupadmin&&’
-__editview.h:19:12: error: request for member ‘data’ in ‘p’, which is of non-class type ‘int’
- 19 | p.data << "