diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-10-04 15:02:00 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-10-04 15:02:00 +0300 |
commit | f869bf1b020ed41d5a64b106ba48ec45412b912c (patch) | |
tree | ff4e48ce4288a6ace271031154f43adda509f324 /src/nxt_port_hash.h | |
parent | 85e485776b9c52e1762e6cc53406e956c604d9de (diff) | |
download | unit-f869bf1b020ed41d5a64b106ba48ec45412b912c.tar.gz unit-f869bf1b020ed41d5a64b106ba48ec45412b912c.tar.bz2 |
Return error codes for port_hash operations.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_port_hash.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_port_hash.h b/src/nxt_port_hash.h index 68389f30..69a1a8e3 100644 --- a/src/nxt_port_hash.h +++ b/src/nxt_port_hash.h @@ -11,9 +11,9 @@ #include <nxt_main.h> -void nxt_port_hash_add(nxt_lvlhsh_t *port_hash, nxt_port_t *port); +nxt_int_t nxt_port_hash_add(nxt_lvlhsh_t *port_hash, nxt_port_t *port); -void nxt_port_hash_remove(nxt_lvlhsh_t *port_hash, nxt_port_t *port); +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); |