[nginx] API change: removed the ngx_conf_full_name() function.

Valentin Bartenev vbart at nginx.com
Tue Aug 6 16:01:25 UTC 2013


details:   http://hg.nginx.org/nginx/rev/7094bd12c1ff
branches:  
changeset: 5318:7094bd12c1ff
user:      Valentin Bartenev <vbart at nginx.com>
date:      Tue Aug 06 19:58:40 2013 +0400
description:
API change: removed the ngx_conf_full_name() function.

The ngx_get_full_name() should be used instead.

diffstat:

 src/core/ngx_conf_file.c |  10 ----------
 src/core/ngx_conf_file.h |   2 --
 2 files changed, 0 insertions(+), 12 deletions(-)

diffs (32 lines):

diff -r f1a91825730a -r 7094bd12c1ff src/core/ngx_conf_file.c
--- a/src/core/ngx_conf_file.c	Tue Aug 06 19:58:40 2013 +0400
+++ b/src/core/ngx_conf_file.c	Tue Aug 06 19:58:40 2013 +0400
@@ -797,16 +797,6 @@ ngx_conf_include(ngx_conf_t *cf, ngx_com
 }
 
 
-ngx_int_t
-ngx_conf_full_name(ngx_cycle_t *cycle, ngx_str_t *name, ngx_uint_t conf_prefix)
-{
-    return ngx_get_full_name(cycle->pool,
-                             conf_prefix ? &cycle->conf_prefix:
-                                           &cycle->prefix,
-                             name);
-}
-
-
 ngx_open_file_t *
 ngx_conf_open_file(ngx_cycle_t *cycle, ngx_str_t *name)
 {
diff -r f1a91825730a -r 7094bd12c1ff src/core/ngx_conf_file.h
--- a/src/core/ngx_conf_file.h	Tue Aug 06 19:58:40 2013 +0400
+++ b/src/core/ngx_conf_file.h	Tue Aug 06 19:58:40 2013 +0400
@@ -311,8 +311,6 @@ char *ngx_conf_parse(ngx_conf_t *cf, ngx
 char *ngx_conf_include(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
 
 
-ngx_int_t ngx_conf_full_name(ngx_cycle_t *cycle, ngx_str_t *name,
-    ngx_uint_t conf_prefix);
 ngx_open_file_t *ngx_conf_open_file(ngx_cycle_t *cycle, ngx_str_t *name);
 void ngx_cdecl ngx_conf_log_error(ngx_uint_t level, ngx_conf_t *cf,
     ngx_err_t err, const char *fmt, ...);



More information about the nginx-devel mailing list