summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_main.h
diff options
context:
space:
mode:
authorZhidao HONG <z.hong@f5.com>2023-06-19 16:29:22 +0800
committerZhidao HONG <z.hong@f5.com>2023-06-19 16:29:22 +0800
commitc61ccec7b4926476b2188092e25990e433332688 (patch)
tree191c14c58ae229e6060644eafce25a82040a2bbc /src/nxt_main.h
parent18d3637e4bffd5fff09091a536dca3fdecc931d7 (diff)
downloadunit-c61ccec7b4926476b2188092e25990e433332688.tar.gz
unit-c61ccec7b4926476b2188092e25990e433332688.tar.bz2
Variables refactoring.
This commit is to reimplement the variables with an unknown field such as $header_{name} to make the parsing more generic, it's a preparation for supporting response header variables.
Diffstat (limited to 'src/nxt_main.h')
-rw-r--r--src/nxt_main.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_main.h b/src/nxt_main.h
index a7e0c283..aa96256e 100644
--- a/src/nxt_main.h
+++ b/src/nxt_main.h
@@ -68,6 +68,8 @@ typedef uint16_t nxt_port_id_t;
#include <nxt_sprintf.h>
#include <nxt_parse.h>
+
+typedef struct nxt_tstr_state_s nxt_tstr_state_t;
#include <nxt_var.h>
#include <nxt_tstr.h>