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_upstream.h | |
parent | 059a8642898a6bd4b47d13a1c1d599cd44af7e1c (diff) | |
download | unit-029942f4eb7196c2cff0d0e26bc6ff274138f7d8.tar.gz unit-029942f4eb7196c2cff0d0e26bc6ff274138f7d8.tar.bz2 |
I/O operations refactoring.
Diffstat (limited to 'src/nxt_upstream.h')
-rw-r--r-- | src/nxt_upstream.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nxt_upstream.h b/src/nxt_upstream.h index 2935ccc8..a7d2a224 100644 --- a/src/nxt_upstream.h +++ b/src/nxt_upstream.h @@ -25,7 +25,7 @@ struct nxt_upstream_peer_s { nxt_str_t addr; nxt_mem_pool_t *mem_pool; - void (*ready_handler)(nxt_upstream_peer_t *up); + void (*ready_handler)(nxt_task_t *task, nxt_upstream_peer_t *up); void (*protocol_handler)(nxt_upstream_source_t *us); }; @@ -39,7 +39,8 @@ typedef struct { /* STUB */ -NXT_EXPORT void nxt_upstream_round_robin_peer(nxt_upstream_peer_t *up); +NXT_EXPORT void nxt_upstream_round_robin_peer(nxt_task_t *task, + nxt_upstream_peer_t *up); /**/ |