summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/backendConnector.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'xmrstak/backend/backendConnector.hpp')
-rw-r--r--xmrstak/backend/backendConnector.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/xmrstak/backend/backendConnector.hpp b/xmrstak/backend/backendConnector.hpp
new file mode 100644
index 0000000..da3dc77
--- /dev/null
+++ b/xmrstak/backend/backendConnector.hpp
@@ -0,0 +1,21 @@
+#pragma once
+
+#include "iBackend.hpp"
+#include "miner_work.hpp"
+
+#include <thread>
+#include <vector>
+#include <atomic>
+#include <mutex>
+
+
+namespace xmrstak
+{
+
+ struct BackendConnector
+ {
+ static std::vector<iBackend*>* thread_starter(miner_work& pWork);
+ static bool self_test();
+ };
+
+} // namepsace xmrstak
OpenPOWER on IntegriCloud