diff options
Diffstat (limited to 'service/OneService.hpp')
-rw-r--r-- | service/OneService.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/service/OneService.hpp b/service/OneService.hpp index 0faf62f1..cead381d 100644 --- a/service/OneService.hpp +++ b/service/OneService.hpp @@ -161,6 +161,15 @@ public: virtual bool getNetworkSettings(const uint64_t nwid,NetworkSettings &settings) const = 0; /** + * Set local settings for a network + * + * @param nwid Network ID + * @param settings New network local settings + * @return True if network was found and setting modified + */ + virtual bool setNetworkSettings(const uint64_t nwid,const NetworkSettings &settings) = 0; + + /** * @return True if service is still running */ inline bool isRunning() const { return (this->reasonForTermination() == ONE_STILL_RUNNING); } |