Welcome! Log In Create A New Profile

Advanced

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

Valentin Bartenev
August 06, 2013 12:02PM
details: http://hg.nginx.org/nginx/rev/7094bd12c1ff
branches:
changeset: 5318:7094bd12c1ff
user: Valentin Bartenev <vbart@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, ...);

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

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

Valentin Bartenev 648 August 06, 2013 12:02PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 202
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready