diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-02-22 15:09:59 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-02-22 15:09:59 +0300 |
commit | 029942f4eb7196c2cff0d0e26bc6ff274138f7d8 (patch) | |
tree | f4686c4d7b9cd574fe94c6f4918479a580fecf75 /src/nxt_cycle.h | |
parent | 059a8642898a6bd4b47d13a1c1d599cd44af7e1c (diff) | |
download | unit-029942f4eb7196c2cff0d0e26bc6ff274138f7d8.tar.gz unit-029942f4eb7196c2cff0d0e26bc6ff274138f7d8.tar.bz2 |
I/O operations refactoring.
Diffstat (limited to 'src/nxt_cycle.h')
-rw-r--r-- | src/nxt_cycle.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nxt_cycle.h b/src/nxt_cycle.h index 4a5b656d..6dbde173 100644 --- a/src/nxt_cycle.h +++ b/src/nxt_cycle.h @@ -77,7 +77,10 @@ struct nxt_cycle_s { const char *group; const char *pid; const char *error_log; - nxt_sockaddr_t *listen; + + nxt_sockaddr_t *app_listen; + nxt_sockaddr_t *stream_listen; + nxt_str_t upstream; }; @@ -146,6 +149,7 @@ nxt_int_t nxt_cycle_shm_zone_add(nxt_cycle_t *cycle, nxt_str_t *name, void nxt_cdecl nxt_log_time_handler(nxt_uint_t level, nxt_log_t *log, const char *fmt, ...); +void nxt_stream_connection_init(nxt_task_t *task, void *obj, void *data); nxt_int_t nxt_app_start(nxt_cycle_t *cycle); |