comparison src/core/ngx_connection.h @ 6474:2cd019520210

Style.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 30 Mar 2016 11:52:16 +0300
parents 8f038068f4bc
children 2f98b5709d79
comparison
equal deleted inserted replaced
6473:9d7326d3f474 6474:2cd019520210
93 93
94 }; 94 };
95 95
96 96
97 typedef enum { 97 typedef enum {
98 NGX_ERROR_ALERT = 0, 98 NGX_ERROR_ALERT = 0,
99 NGX_ERROR_ERR, 99 NGX_ERROR_ERR,
100 NGX_ERROR_INFO, 100 NGX_ERROR_INFO,
101 NGX_ERROR_IGNORE_ECONNRESET, 101 NGX_ERROR_IGNORE_ECONNRESET,
102 NGX_ERROR_IGNORE_EINVAL 102 NGX_ERROR_IGNORE_EINVAL
103 } ngx_connection_log_error_e; 103 } ngx_connection_log_error_e;
104 104
105 105
106 typedef enum { 106 typedef enum {
107 NGX_TCP_NODELAY_UNSET = 0, 107 NGX_TCP_NODELAY_UNSET = 0,
108 NGX_TCP_NODELAY_SET, 108 NGX_TCP_NODELAY_SET,
109 NGX_TCP_NODELAY_DISABLED 109 NGX_TCP_NODELAY_DISABLED
110 } ngx_connection_tcp_nodelay_e; 110 } ngx_connection_tcp_nodelay_e;
111 111
112 112
113 typedef enum { 113 typedef enum {
114 NGX_TCP_NOPUSH_UNSET = 0, 114 NGX_TCP_NOPUSH_UNSET = 0,
115 NGX_TCP_NOPUSH_SET, 115 NGX_TCP_NOPUSH_SET,
116 NGX_TCP_NOPUSH_DISABLED 116 NGX_TCP_NOPUSH_DISABLED
117 } ngx_connection_tcp_nopush_e; 117 } ngx_connection_tcp_nopush_e;
118 118
119 119
120 #define NGX_LOWLEVEL_BUFFERED 0x0f 120 #define NGX_LOWLEVEL_BUFFERED 0x0f
121 #define NGX_SSL_BUFFERED 0x01 121 #define NGX_SSL_BUFFERED 0x01