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.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/xmrstak/backend/backendConnector.hpp b/xmrstak/backend/backendConnector.hpp
new file mode 100644
index 0000000..024d9b1
--- /dev/null
+++ b/xmrstak/backend/backendConnector.hpp
@@ -0,0 +1,18 @@
+#pragma once
+#include <thread>
+#include <vector>
+#include <atomic>
+#include <mutex>
+#include "IBackend.hpp"
+#include "miner_work.h"
+
+namespace xmrstak
+{
+
+ struct BackendConnector
+ {
+ static std::vector<IBackend*>* thread_starter(miner_work& pWork);
+ static bool self_test();
+ };
+
+} // namepsace xmrstak
OpenPOWER on IntegriCloud