diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-03-04 06:33:48 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-03-04 06:33:48 +0000 |
commit | 6a644c694de6a7afc87d25395c2cf6fcc46c4e6f (patch) | |
tree | d1e6cb8b9cc688cbfcbc83c3e065930c36244715 /src/core/ngx_conf_file.h | |
parent | ff148df8f694212e2cf13f0d43532949433831a2 (diff) | |
download | nginx-6a644c694de6a7afc87d25395c2cf6fcc46c4e6f.tar.gz nginx-6a644c694de6a7afc87d25395c2cf6fcc46c4e6f.zip |
nginx-0.0.1-2003-03-04-09:33:48 import
Diffstat (limited to 'src/core/ngx_conf_file.h')
-rw-r--r-- | src/core/ngx_conf_file.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ngx_conf_file.h b/src/core/ngx_conf_file.h index 9573ab9f2..56ed4a1d7 100644 --- a/src/core/ngx_conf_file.h +++ b/src/core/ngx_conf_file.h @@ -18,6 +18,7 @@ #define NGX_CONF_ARGS_NUMBER 0x00ffff #define NGX_CONF_ANY 0x010000 #define NGX_CONF_BLOCK 0x020000 +#define NGX_CONF_FLAG 0x040000 #define NGX_CONF_UNSET -1 @@ -89,10 +90,13 @@ struct ngx_conf_s { } +#define addressof(addr) ((int) &addr) + char *ngx_conf_parse(ngx_conf_t *cf, ngx_str_t *filename); +char *ngx_conf_set_flag_slot(ngx_conf_t *cf, ngx_command_t *cmd, char *conf); char *ngx_conf_set_str_slot(ngx_conf_t *cf, ngx_command_t *cmd, char *conf); char *ngx_conf_set_size_slot(ngx_conf_t *cf, ngx_command_t *cmd, char *conf); char *ngx_conf_set_time_slot(ngx_conf_t *cf, ngx_command_t *cmd, char *conf); |