summaryrefslogtreecommitdiff
path: root/service/One.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'service/One.hpp')
-rw-r--r--service/One.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/service/One.hpp b/service/One.hpp
index a1e8d2ad..48fbc2ba 100644
--- a/service/One.hpp
+++ b/service/One.hpp
@@ -112,6 +112,11 @@ public:
virtual std::string fatalErrorMessage() const = 0;
/**
+ * @return System device name corresponding with a given ZeroTier network ID
+ */
+ virtual std::string portDeviceName(uint64_t nwid) const = 0;
+
+ /**
* Terminate background service (can be called from other threads)
*/
virtual void terminate() = 0;