aboutsummaryrefslogtreecommitdiff
path: root/gmid.h
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-07-23 18:17:59 +0000
committerOmar Polo <op@omarpolo.com>2023-07-23 18:17:59 +0000
commitf36ba9be59c1b60aff4b9663f49d8656800afa00 (patch)
tree42d7295a74f50b9aab04974f47ddfb85b28be870 /gmid.h
parent0995ecdb87195955d23d1dae0a4c93b45f199714 (diff)
move struct envlist and alist up
Diffstat (limited to 'gmid.h')
-rw-r--r--gmid.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/gmid.h b/gmid.h
index 9f7f5d8..c1fd62c 100644
--- a/gmid.h
+++ b/gmid.h
@@ -124,6 +124,19 @@ struct fcgi {
TAILQ_ENTRY(fcgi) fcgi;
};
+TAILQ_HEAD(envhead, envlist);
+struct envlist {
+ char name[FCGI_NAME_MAX];
+ char value[FCGI_VAL_MAX];
+ TAILQ_ENTRY(envlist) envs;
+};
+
+TAILQ_HEAD(aliashead, alist);
+struct alist {
+ char alias[HOST_NAME_MAX + 1];
+ TAILQ_ENTRY(alist) aliases;
+};
+
TAILQ_HEAD(proxyhead, proxy);
struct proxy {
char match_proto[32];
@@ -169,19 +182,6 @@ struct location {
TAILQ_ENTRY(location) locations;
};
-TAILQ_HEAD(envhead, envlist);
-struct envlist {
- char name[FCGI_NAME_MAX];
- char value[FCGI_VAL_MAX];
- TAILQ_ENTRY(envlist) envs;
-};
-
-TAILQ_HEAD(aliashead, alist);
-struct alist {
- char alias[HOST_NAME_MAX + 1];
- TAILQ_ENTRY(alist) aliases;
-};
-
TAILQ_HEAD(vhosthead, vhost);
struct vhost {
char domain[HOST_NAME_MAX + 1];