comparison src/event/modules/ngx_iocp_module.c @ 6474:2cd019520210

Style.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 30 Mar 2016 11:52:16 +0300
parents 4dc8e7b62216
children 56fc55e32f23
comparison
equal deleted inserted replaced
6473:9d7326d3f474 6474:2cd019520210
25 25
26 static ngx_str_t iocp_name = ngx_string("iocp"); 26 static ngx_str_t iocp_name = ngx_string("iocp");
27 27
28 static ngx_command_t ngx_iocp_commands[] = { 28 static ngx_command_t ngx_iocp_commands[] = {
29 29
30 {ngx_string("iocp_threads"), 30 { ngx_string("iocp_threads"),
31 NGX_EVENT_CONF|NGX_CONF_TAKE1, 31 NGX_EVENT_CONF|NGX_CONF_TAKE1,
32 ngx_conf_set_num_slot, 32 ngx_conf_set_num_slot,
33 0, 33 0,
34 offsetof(ngx_iocp_conf_t, threads), 34 offsetof(ngx_iocp_conf_t, threads),
35 NULL}, 35 NULL },
36 36
37 {ngx_string("post_acceptex"), 37 { ngx_string("post_acceptex"),
38 NGX_EVENT_CONF|NGX_CONF_TAKE1, 38 NGX_EVENT_CONF|NGX_CONF_TAKE1,
39 ngx_conf_set_num_slot, 39 ngx_conf_set_num_slot,
40 0, 40 0,
41 offsetof(ngx_iocp_conf_t, post_acceptex), 41 offsetof(ngx_iocp_conf_t, post_acceptex),
42 NULL}, 42 NULL },
43 43
44 {ngx_string("acceptex_read"), 44 { ngx_string("acceptex_read"),
45 NGX_EVENT_CONF|NGX_CONF_FLAG, 45 NGX_EVENT_CONF|NGX_CONF_FLAG,
46 ngx_conf_set_flag_slot, 46 ngx_conf_set_flag_slot,
47 0, 47 0,
48 offsetof(ngx_iocp_conf_t, acceptex_read), 48 offsetof(ngx_iocp_conf_t, acceptex_read),
49 NULL}, 49 NULL },
50 50
51 ngx_null_command 51 ngx_null_command
52 }; 52 };
53 53
54 54
55 ngx_event_module_t ngx_iocp_module_ctx = { 55 ngx_event_module_t ngx_iocp_module_ctx = {
56 &iocp_name, 56 &iocp_name,