From a425bbc67301bf486fe5b0aba8adb59ae791403e Mon Sep 17 00:00:00 2001 From: Kees Bos Date: Wed, 6 May 2015 12:05:20 +0200 Subject: Renamed supernode to rootserver --- node/Dictionary.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'node/Dictionary.hpp') diff --git a/node/Dictionary.hpp b/node/Dictionary.hpp index afdc2d74..8628bc44 100644 --- a/node/Dictionary.hpp +++ b/node/Dictionary.hpp @@ -259,6 +259,9 @@ public: */ void fromString(const char *s,unsigned int maxlen); inline void fromString(const std::string &s) { fromString(s.c_str(),(unsigned int)s.length()); } + void updateFromString(const char *s,unsigned int maxlen); + inline void update(const char *s,unsigned int maxlen) { updateFromString(s, maxlen); } + inline void update(const std::string &s) { updateFromString(s.c_str(),(unsigned int)s.length()); } /** * @return True if this dictionary is cryptographically signed -- cgit v1.2.3