nxt_port_hash.h (75:63205c12a84b) nxt_port_hash.h (341:5e1a9c009968)
1
2/*
3 * Copyright (C) Max Romanov
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_PORT_HASH_H_INCLUDED_
8#define _NXT_PORT_HASH_H_INCLUDED_
9
10
11#include <nxt_main.h>
12
13
1
2/*
3 * Copyright (C) Max Romanov
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_PORT_HASH_H_INCLUDED_
8#define _NXT_PORT_HASH_H_INCLUDED_
9
10
11#include <nxt_main.h>
12
13
14void nxt_port_hash_add(nxt_lvlhsh_t *port_hash, nxt_mp_t *mem_pool,
15 nxt_port_t *port);
14void nxt_port_hash_add(nxt_lvlhsh_t *port_hash, nxt_port_t *port);
16
15
17void nxt_port_hash_remove(nxt_lvlhsh_t *port_hash, nxt_mp_t *mem_pool,
18 nxt_port_t *port);
16void nxt_port_hash_remove(nxt_lvlhsh_t *port_hash, nxt_port_t *port);
19
20nxt_port_t *nxt_port_hash_find(nxt_lvlhsh_t *port_hash, nxt_pid_t pid,
21 nxt_port_id_t port_id);
22
23nxt_port_t *nxt_port_hash_first(nxt_lvlhsh_t *port_hash,
24 nxt_lvlhsh_each_t *lhe);
25
26#define nxt_port_hash_next(port_hash, lhe) \

--- 16 unchanged lines hidden ---
17
18nxt_port_t *nxt_port_hash_find(nxt_lvlhsh_t *port_hash, nxt_pid_t pid,
19 nxt_port_id_t port_id);
20
21nxt_port_t *nxt_port_hash_first(nxt_lvlhsh_t *port_hash,
22 nxt_lvlhsh_each_t *lhe);
23
24#define nxt_port_hash_next(port_hash, lhe) \

--- 16 unchanged lines hidden ---