aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_string.h')
-rw-r--r--src/core/ngx_string.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/ngx_string.h b/src/core/ngx_string.h
index 0a78a0673..de9b14bb1 100644
--- a/src/core/ngx_string.h
+++ b/src/core/ngx_string.h
@@ -5,6 +5,11 @@
#include <ngx_config.h>
+typedef struct {
+ int len;
+ char *data;
+} ngx_str_t;
+
#if (WIN32)
#define ngx_snprintf _snprintf