aboutsummaryrefslogtreecommitdiff
path: root/nginx/ngx_http_js_module.c
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2023-06-06 21:31:39 -0700
committerDmitry Volyntsev <xeioex@nginx.com>2023-06-06 21:31:39 -0700
commite84d9684abb4380260543e2cc3ce00cc656f50ca (patch)
treedcefa51a4f4c9a94e0cbf8655cabfbbb8c9bddbc /nginx/ngx_http_js_module.c
parent02fa70436cb7eda473a8c5a754935ee52a0ead50 (diff)
downloadnjs-e84d9684abb4380260543e2cc3ce00cc656f50ca.tar.gz
njs-e84d9684abb4380260543e2cc3ce00cc656f50ca.zip
Modules: renaming ngx_js_conf_t to ngx_js_loc_conf_t.
Diffstat (limited to 'nginx/ngx_http_js_module.c')
-rw-r--r--nginx/ngx_http_js_module.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nginx/ngx_http_js_module.c b/nginx/ngx_http_js_module.c
index ac376c67..a66ea741 100644
--- a/nginx/ngx_http_js_module.c
+++ b/nginx/ngx_http_js_module.c
@@ -13,7 +13,7 @@
typedef struct {
- NGX_JS_COMMON_CONF;
+ NGX_JS_COMMON_LOC_CONF;
ngx_str_t content;
ngx_str_t header_filter;
@@ -254,7 +254,7 @@ static char *ngx_http_js_content(ngx_conf_t *cf, ngx_command_t *cmd,
static char *ngx_http_js_body_filter_set(ngx_conf_t *cf, ngx_command_t *cmd,
void *conf);
static ngx_int_t ngx_http_js_init_conf_vm(ngx_conf_t *cf,
- ngx_js_conf_t *conf);
+ ngx_js_loc_conf_t *conf);
static void *ngx_http_js_create_loc_conf(ngx_conf_t *cf);
static char *ngx_http_js_merge_loc_conf(ngx_conf_t *cf, void *parent,
void *child);
@@ -4104,7 +4104,7 @@ ngx_http_js_handle_event(ngx_http_request_t *r, njs_vm_event_t vm_event,
static ngx_int_t
-ngx_http_js_externals_init(ngx_conf_t *cf, ngx_js_conf_t *conf_in)
+ngx_http_js_externals_init(ngx_conf_t *cf, ngx_js_loc_conf_t *conf_in)
{
ngx_http_js_loc_conf_t *conf = (ngx_http_js_loc_conf_t *) conf_in;
@@ -4122,7 +4122,7 @@ ngx_http_js_externals_init(ngx_conf_t *cf, ngx_js_conf_t *conf_in)
static ngx_int_t
-ngx_http_js_init_conf_vm(ngx_conf_t *cf, ngx_js_conf_t *conf)
+ngx_http_js_init_conf_vm(ngx_conf_t *cf, ngx_js_loc_conf_t *conf)
{
njs_vm_opt_t options;