comparison src/event/ngx_event_connect.h @ 119:cd54bcbaf3b5

nginx-0.0.1-2003-07-21-01:15:59 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 20 Jul 2003 21:15:59 +0000
parents 3973260705cc
children b776ad95d96d
comparison
equal deleted inserted replaced
118:5bf52498665c 119:cd54bcbaf3b5
1 #ifndef _NGX_EVENT_CONNECT_H_INCLUDED_ 1 #ifndef _NGX_EVENT_CONNECT_H_INCLUDED_
2 #define _NGX_EVENT_CONNECT_H_INCLUDED_ 2 #define _NGX_EVENT_CONNECT_H_INCLUDED_
3 3
4 4
5 #include <ngx_config.h> 5 #include <ngx_config.h>
6 #include <ngx_string.h> 6 #include <ngx_core.h>
7 #include <ngx_log.h>
8 #include <ngx_event.h> 7 #include <ngx_event.h>
9 #include <ngx_connection.h>
10 8
11 9
12 typedef struct { 10 typedef struct {
13 u_int32_t addr; 11 u_int32_t addr;
14 ngx_str_t host; 12 ngx_str_t host;
35 33
36 typedef struct { 34 typedef struct {
37 ngx_peers_t *peers; 35 ngx_peers_t *peers;
38 int cur_peer; 36 int cur_peer;
39 int tries; 37 int tries;
38
39 unsigned cached:1;
40 } ngx_connect_peer_t; 40 } ngx_connect_peer_t;
41 41
42 42
43 #endif /* _NGX_EVENT_CONNECT_H_INCLUDED_ */ 43 #endif /* _NGX_EVENT_CONNECT_H_INCLUDED_ */