X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/4b8483ae278577a3adc8d84da81d77019704466f..42bcfe2cae29f375af4cf2cd3ccfa196b77a3946:/getcgi.h diff --git a/getcgi.h b/getcgi.h index 58d009b..5886996 100644 --- a/getcgi.h +++ b/getcgi.h @@ -9,7 +9,23 @@ */ char *txt2html(const char *string); -char x2c(char *what); +/* + * start_html - Start HTML output. + * @title: The title for the HTML. + * + * Takes a title string and starts HTML output, including the + * Content-Type header all the way up to . + */ +void start_html(const char *title); + +/* + * end_html - End HTML output. + * + * Ends HTML output - closes the BODY and HTML tags. + */ +void end_html(void); + +char x2c(const char *what); void unescape_url(char *url); char **getcgivars(int argc, char *argv[]);