summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port_hash.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2018-03-29 16:35:38 +0300
committerIgor Sysoev <igor@sysoev.ru>2018-03-29 16:35:38 +0300
commit5a9c23e2b4ff39ee4c25f67ece56e3d441edfeed (patch)
tree1096801258842d02d9206156ae0fb587be2a8c78 /src/nxt_port_hash.h
parent7205bf4b86cfa662a7267afd7c316118084fc600 (diff)
downloadunit-5a9c23e2b4ff39ee4c25f67ece56e3d441edfeed.tar.gz
unit-5a9c23e2b4ff39ee4c25f67ece56e3d441edfeed.tar.bz2
Using nxt_lvlhsh_peek() for port hashes.
Diffstat (limited to 'src/nxt_port_hash.h')
-rw-r--r--src/nxt_port_hash.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/nxt_port_hash.h b/src/nxt_port_hash.h
index 97266fac..c975cab7 100644
--- a/src/nxt_port_hash.h
+++ b/src/nxt_port_hash.h
@@ -18,11 +18,7 @@ nxt_int_t nxt_port_hash_remove(nxt_lvlhsh_t *port_hash, nxt_port_t *port);
nxt_port_t *nxt_port_hash_find(nxt_lvlhsh_t *port_hash, nxt_pid_t pid,
nxt_port_id_t port_id);
-nxt_port_t *nxt_port_hash_first(nxt_lvlhsh_t *port_hash,
- nxt_lvlhsh_each_t *lhe);
-
-#define nxt_port_hash_next(port_hash, lhe) \
- nxt_lvlhsh_each((port_hash), (lhe))
+nxt_port_t *nxt_port_hash_retrieve(nxt_lvlhsh_t *port_hash);
#endif /* _NXT_PORT_HASH_H_INCLIDED_ */