From f36ba9be59c1b60aff4b9663f49d8656800afa00 Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Sun, 23 Jul 2023 18:17:59 +0000 Subject: [PATCH] move struct envlist and alist up --- gmid.h | 26 +++++++++++++------------- 1 file 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];