aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_config_command.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_config_command.h')
-rw-r--r--src/core/ngx_config_command.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/core/ngx_config_command.h b/src/core/ngx_config_command.h
new file mode 100644
index 000000000..0990d44e4
--- /dev/null
+++ b/src/core/ngx_config_command.h
@@ -0,0 +1,22 @@
+#ifndef _NGX_HTTP_CONFIG_COMMAND_H_INCLUDED_
+#define _NGX_HTTP_CONFIG_COMMAND_H_INCLUDED_
+
+
+#define NGX_CONF_TAKE1 0
+#define NGX_CONF_ITERATE 0
+
+#define NGX_CONF_UNSET -1
+
+typedef struct {
+ char *name;
+ char *(*set)();
+ int offset;
+ int zone;
+ int type;
+ char *description;
+} ngx_command_t;
+
+char *ngx_conf_set_size_slot(char *conf, int offset, char *value);
+
+
+#endif _NGX_HTTP_CONFIG_COMMAND_H_INCLUDED_