summaryrefslogtreecommitdiff
path: root/src/trie.hpp
diff options
context:
space:
mode:
authorMartin Lucina <martin@lucina.net>2012-05-20 11:24:59 +0200
committerMartin Lucina <martin@lucina.net>2012-05-20 11:24:59 +0200
commite4a32d2c3227d8e2f3a2a3a3cb51bd021f57a8c2 (patch)
tree10978c613cca68ab3733e7d51c5c4963464f18df /src/trie.hpp
parent0118255d0413fa469c0a7c569e05cc79bf5f5b7d (diff)
parent56619463ac26dc6c3e576d2fbf6b544eebeb5148 (diff)
Merge tag 'upstream/2.2.0'
Upstream version 2.2.0
Diffstat (limited to 'src/trie.hpp')
-rw-r--r--src/trie.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/trie.hpp b/src/trie.hpp
index dbf1cb1..7b1b62c 100644
--- a/src/trie.hpp
+++ b/src/trie.hpp
@@ -1,5 +1,6 @@
/*
Copyright (c) 2007-2011 iMatix Corporation
+ Copyright (c) 2011-2012 Spotify AB
Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file
This file is part of 0MQ.
@@ -40,10 +41,12 @@ namespace zmq
bool check (unsigned char *data_, size_t size_);
private:
+ bool is_redundant () const;
uint32_t refcnt;
unsigned char min;
unsigned short count;
+ unsigned short live_nodes;
union {
class trie_t *node;
class trie_t **table;