From 90e1262a8b607f35af0eade34eba7a49217cb7ed Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 26 Apr 2016 08:20:03 -0700 Subject: More refactoring to remove old Dictionary dependencies. --- node/Network.hpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'node/Network.hpp') diff --git a/node/Network.hpp b/node/Network.hpp index 5d33151b..9d280fbf 100644 --- a/node/Network.hpp +++ b/node/Network.hpp @@ -151,14 +151,12 @@ public: /** * Set or update this network's configuration * - * This decodes a network configuration in key=value dictionary form, - * applies it if valid, and persists it to disk if saveToDisk is true. - * - * @param conf Configuration in key/value dictionary form + * @param confBytes Network configuration in old-style Dictionary or new-style serialized format + * @param confLen Length of network configuration in bytes * @param saveToDisk IF true (default), write config to disk * @return 0 -- rejected, 1 -- accepted but not new, 2 -- accepted new config */ - int setConfiguration(const Dictionary &conf,bool saveToDisk = true); + int setConfiguration(const void *confBytes,unsigned int confLen,bool saveToDisk); /** * Set netconf failure to 'access denied' -- called in IncomingPacket when controller reports this -- cgit v1.2.3