diff options
| author | Kees Bos <k.bos@capitar.com> | 2015-05-06 12:05:20 +0200 |
|---|---|---|
| committer | Kees Bos <k.bos@capitar.com> | 2015-05-06 12:05:20 +0200 |
| commit | a425bbc67301bf486fe5b0aba8adb59ae791403e (patch) | |
| tree | 460b6c5a5c2ed852903fac2a9703c6f06534f79f /node/Dictionary.hpp | |
| parent | 845955dea53035e8472059ff03feca9f47c0d5fa (diff) | |
| download | infinitytier-a425bbc67301bf486fe5b0aba8adb59ae791403e.tar.gz infinitytier-a425bbc67301bf486fe5b0aba8adb59ae791403e.zip | |
Renamed supernode to rootserver
Diffstat (limited to 'node/Dictionary.hpp')
| -rw-r--r-- | node/Dictionary.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
