nxt_upstream.h (13:3a52b2c3d3f1) nxt_upstream.h (65:10688b89aa16)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_UPSTREAM_H_INCLUDED_
8#define _NXT_UPSTREAM_H_INCLUDED_

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

19
20 nxt_sockaddr_t *sockaddr;
21 nxt_nsec_t delay;
22
23 uint32_t tries;
24 in_port_t port;
25
26 nxt_str_t addr;
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_UPSTREAM_H_INCLUDED_
8#define _NXT_UPSTREAM_H_INCLUDED_

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

19
20 nxt_sockaddr_t *sockaddr;
21 nxt_nsec_t delay;
22
23 uint32_t tries;
24 in_port_t port;
25
26 nxt_str_t addr;
27 nxt_mem_pool_t *mem_pool;
27 nxt_mp_t *mem_pool;
28 void (*ready_handler)(nxt_task_t *task, nxt_upstream_peer_t *up);
29
30 void (*protocol_handler)(nxt_upstream_source_t *us);
31};
32
33
34typedef struct {
35 void (*ready_handler)(void *data);

--- 12 unchanged lines hidden ---
28 void (*ready_handler)(nxt_task_t *task, nxt_upstream_peer_t *up);
29
30 void (*protocol_handler)(nxt_upstream_source_t *us);
31};
32
33
34typedef struct {
35 void (*ready_handler)(void *data);

--- 12 unchanged lines hidden ---