summaryrefslogtreecommitdiff
path: root/node/Network.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-06-16 12:28:43 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-06-16 12:28:43 -0700
commite09c1a1c11522c11c6ea81dcb1c52a4e8a2f5c6c (patch)
treeba6d0381aa472ec1811bd9f16627e10f48f2d203 /node/Network.hpp
parentb104bb4762a07dcb0a950b33c7419b298c2b6267 (diff)
downloadinfinitytier-e09c1a1c11522c11c6ea81dcb1c52a4e8a2f5c6c.tar.gz
infinitytier-e09c1a1c11522c11c6ea81dcb1c52a4e8a2f5c6c.zip
Big refactor mostly builds. We now have a uniform backward compatible netconf.
Diffstat (limited to 'node/Network.hpp')
-rw-r--r--node/Network.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/node/Network.hpp b/node/Network.hpp
index f316e050..17eed4bd 100644
--- a/node/Network.hpp
+++ b/node/Network.hpp
@@ -151,12 +151,11 @@ public:
/**
* Set or update this network's configuration
*
- * @param confBytes Network configuration in old-style Dictionary or new-style serialized format
- * @param confLen Length of network configuration in bytes
+ * @param nconf Network configuration
* @param saveToDisk IF true (default), write config to disk
* @return 0 -- rejected, 1 -- accepted but not new, 2 -- accepted new config
*/
- int setConfiguration(const void *confBytes,unsigned int confLen,bool saveToDisk);
+ int setConfiguration(const NetworkConfig &nconf,bool saveToDisk);
/**
* Set netconf failure to 'access denied' -- called in IncomingPacket when controller reports this