diff options
Diffstat (limited to 'gmid.h')
-rw-r--r-- | gmid.h | 32 |
1 files changed, 16 insertions, 16 deletions
@@ -72,6 +72,22 @@ #define FCGI_MAX 32 #define PROC_MAX 16 +struct iri { + char *schema; + char *host; + char *port; + uint16_t port_no; + char *path; + char *query; + char *fragment; +}; + +struct parser { + char *iri; + struct iri *parsed; + const char *err; +}; + struct fcgi { int id; char *path; @@ -169,22 +185,6 @@ extern struct imsgbuf logibuf, exibuf, servibuf[PROC_MAX]; extern int servpipes[PROC_MAX]; -struct iri { - char *schema; - char *host; - char *port; - uint16_t port_no; - char *path; - char *query; - char *fragment; -}; - -struct parser { - char *iri; - struct iri *parsed; - const char *err; -}; - typedef void (imsg_handlerfn)(struct imsgbuf*, struct imsg*, size_t); enum { |