aboutsummaryrefslogtreecommitdiffstats
path: root/cgi.h
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2021-06-02 17:00:39 +0000
committerla-ninpre <leobrekalini@gmail.com>2021-06-02 17:00:39 +0000
commite7e4e22b69a0c9965c2d4f96903ae647165e99d3 (patch)
tree206e0ffd324751e51850184dc21929382a3af4e4 /cgi.h
parent44c234cfdf8588e5c53a9534cc2ee1c627682f7c (diff)
downloadnimisewi_c-0.0.3.tar.gz
nimisewi_c-0.0.3.zip
major refactoringv0.0.3
added options to compile cgi for http and gemini FossilOrigin-Name: 393d793150423ffe6680f109ef6b0524fd8e2e3501766a6761aa63276e90d90e
Diffstat (limited to 'cgi.h')
-rw-r--r--cgi.h24
1 files changed, 24 insertions, 0 deletions
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 */