From e7e4e22b69a0c9965c2d4f96903ae647165e99d3 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Wed, 2 Jun 2021 17:00:39 +0000 Subject: major refactoring added options to compile cgi for http and gemini FossilOrigin-Name: 393d793150423ffe6680f109ef6b0524fd8e2e3501766a6761aa63276e90d90e --- cgi.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 cgi.h (limited to 'cgi.h') diff --git a/cgi.h b/cgi.h new file mode 100644 index 0000000..06530fd --- /dev/null +++ b/cgi.h @@ -0,0 +1,24 @@ +/* Copyright (c) 2021, la-ninpre + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef NIMISEWI_CGI_H +#define NIMISEWI_CGI_H + +void print_response_header(void); +void print_html_header(void); +void print_html_stylesheet(void); +void print_html_footer(void); + +#endif /* NIMISEWI_CGI_H */ -- cgit v1.2.3