aboutsummaryrefslogtreecommitdiffstats
path: root/include/RelationshipHandler.hpp
diff options
context:
space:
mode:
authorNiklas Halle <niklas@niklashalle.net>2020-08-24 19:04:13 +0200
committerNiklas Halle <niklas@niklashalle.net>2020-08-24 19:04:13 +0200
commit38e20390ddf38edd74447ef7db2af660b8e0ff32 (patch)
tree19139ea991ae5d99b28d5c1f9f509ff0ebf4b151 /include/RelationshipHandler.hpp
parent61464b6d069513eda07e4fc2638c8889cbce98f5 (diff)
downloadn_core-38e20390ddf38edd74447ef7db2af660b8e0ff32.tar.gz
n_core-38e20390ddf38edd74447ef7db2af660b8e0ff32.zip
add all available commands (in this branch? @Max where are the others?)
Diffstat (limited to 'include/RelationshipHandler.hpp')
-rw-r--r--include/RelationshipHandler.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/RelationshipHandler.hpp b/include/RelationshipHandler.hpp
new file mode 100644
index 0000000..5b609f4
--- /dev/null
+++ b/include/RelationshipHandler.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "Handler.hpp"
+
+namespace Handler {
+ namespace RelationShipHandler {
+ std::vector<int> buildCalArr(std::vector<std::string> nameV);
+
+ int calculate(std::vector<std::string> names);
+
+ bool isAlphaNum(const std::string &str);
+
+ std::string rsStart(std::vector<std::string> const &names);
+ }
+
+ json relationShipHandler(std::string const &arguments, std::string const &session, void *payload);
+}