comparison src/http/modules/ngx_http_ssi_filter_module.c @ 1169:ea5676ca98f4

style fix: rename functions
author Igor Sysoev <igor@sysoev.ru>
date Thu, 19 Apr 2007 06:27:10 +0000
parents db7c468c447d
children 99c56c0f514e
comparison
equal deleted inserted replaced
1168:4d0d12446c3b 1169:ea5676ca98f4
105 static char *ngx_http_ssi_types(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); 105 static char *ngx_http_ssi_types(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
106 106
107 static ngx_int_t ngx_http_ssi_preconfiguration(ngx_conf_t *cf); 107 static ngx_int_t ngx_http_ssi_preconfiguration(ngx_conf_t *cf);
108 static void *ngx_http_ssi_create_main_conf(ngx_conf_t *cf); 108 static void *ngx_http_ssi_create_main_conf(ngx_conf_t *cf);
109 static char *ngx_http_ssi_init_main_conf(ngx_conf_t *cf, void *conf); 109 static char *ngx_http_ssi_init_main_conf(ngx_conf_t *cf, void *conf);
110 static void *ngx_http_ssi_create_conf(ngx_conf_t *cf); 110 static void *ngx_http_ssi_create_loc_conf(ngx_conf_t *cf);
111 static char *ngx_http_ssi_merge_conf(ngx_conf_t *cf, 111 static char *ngx_http_ssi_merge_loc_conf(ngx_conf_t *cf,
112 void *parent, void *child); 112 void *parent, void *child);
113 static ngx_int_t ngx_http_ssi_filter_init(ngx_conf_t *cf); 113 static ngx_int_t ngx_http_ssi_filter_init(ngx_conf_t *cf);
114 114
115 115
116 static ngx_command_t ngx_http_ssi_filter_commands[] = { 116 static ngx_command_t ngx_http_ssi_filter_commands[] = {
171 ngx_http_ssi_init_main_conf, /* init main configuration */ 171 ngx_http_ssi_init_main_conf, /* init main configuration */
172 172
173 NULL, /* create server configuration */ 173 NULL, /* create server configuration */
174 NULL, /* merge server configuration */ 174 NULL, /* merge server configuration */
175 175
176 ngx_http_ssi_create_conf, /* create location configuration */ 176 ngx_http_ssi_create_loc_conf, /* create location configuration */
177 ngx_http_ssi_merge_conf /* merge location configuration */ 177 ngx_http_ssi_merge_loc_conf /* merge location configuration */
178 }; 178 };
179 179
180 180
181 ngx_module_t ngx_http_ssi_filter_module = { 181 ngx_module_t ngx_http_ssi_filter_module = {
182 NGX_MODULE_V1, 182 NGX_MODULE_V1,
2744 return NGX_CONF_OK; 2744 return NGX_CONF_OK;
2745 } 2745 }
2746 2746
2747 2747
2748 static void * 2748 static void *
2749 ngx_http_ssi_create_conf(ngx_conf_t *cf) 2749 ngx_http_ssi_create_loc_conf(ngx_conf_t *cf)
2750 { 2750 {
2751 ngx_http_ssi_loc_conf_t *slcf; 2751 ngx_http_ssi_loc_conf_t *slcf;
2752 2752
2753 slcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_ssi_loc_conf_t)); 2753 slcf = ngx_pcalloc(cf->pool, sizeof(ngx_http_ssi_loc_conf_t));
2754 if (slcf == NULL) { 2754 if (slcf == NULL) {
2771 return slcf; 2771 return slcf;
2772 } 2772 }
2773 2773
2774 2774
2775 static char * 2775 static char *
2776 ngx_http_ssi_merge_conf(ngx_conf_t *cf, void *parent, void *child) 2776 ngx_http_ssi_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
2777 { 2777 {
2778 ngx_http_ssi_loc_conf_t *prev = parent; 2778 ngx_http_ssi_loc_conf_t *prev = parent;
2779 ngx_http_ssi_loc_conf_t *conf = child; 2779 ngx_http_ssi_loc_conf_t *conf = child;
2780 2780
2781 ngx_str_t *type; 2781 ngx_str_t *type;