Using nxt_lvlhsh_peek() for port hashes.
This commit is contained in:
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user