nxt_runtime.h (74:0d59ae8c7cfa) nxt_runtime.h (75:63205c12a84b)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) Valentin V. Bartenev
5 * Copyright (C) NGINX, Inc.
6 */
7
8#ifndef _NXT_RUNTIME_H_INCLUDED_

--- 98 unchanged lines hidden (view full) ---

107
108nxt_port_t *nxt_runtime_port_find(nxt_runtime_t *rt, nxt_pid_t pid,
109 nxt_port_id_t port_id);
110
111nxt_port_t *nxt_runtime_port_first(nxt_runtime_t *rt,
112 nxt_lvlhsh_each_t *lhe);
113
114#define nxt_runtime_port_next(rt, lhe) \
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) Valentin V. Bartenev
5 * Copyright (C) NGINX, Inc.
6 */
7
8#ifndef _NXT_RUNTIME_H_INCLUDED_

--- 98 unchanged lines hidden (view full) ---

107
108nxt_port_t *nxt_runtime_port_find(nxt_runtime_t *rt, nxt_pid_t pid,
109 nxt_port_id_t port_id);
110
111nxt_port_t *nxt_runtime_port_first(nxt_runtime_t *rt,
112 nxt_lvlhsh_each_t *lhe);
113
114#define nxt_runtime_port_next(rt, lhe) \
115 nxt_lvlhsh_each(&rt->ports, lhe)
115 nxt_port_hash_next(&rt->ports, lhe)
116
117
118/* STUB */
119nxt_int_t nxt_runtime_controller_socket(nxt_task_t *task, nxt_runtime_t *rt);
120
121nxt_str_t *nxt_current_directory(nxt_mp_t *mp);
122
123nxt_listen_socket_t *nxt_runtime_listen_socket_add(nxt_runtime_t *rt,

--- 46 unchanged lines hidden ---
116
117
118/* STUB */
119nxt_int_t nxt_runtime_controller_socket(nxt_task_t *task, nxt_runtime_t *rt);
120
121nxt_str_t *nxt_current_directory(nxt_mp_t *mp);
122
123nxt_listen_socket_t *nxt_runtime_listen_socket_add(nxt_runtime_t *rt,

--- 46 unchanged lines hidden ---