aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_conf_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_conf_file.h')
-rw-r--r--src/core/ngx_conf_file.h4
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);