X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/200b89a2c66c58c41a27883f021850445698b337..24b8c863b154e1bee674597ffcd818d4d959c9a1:/getcgi.h diff --git a/getcgi.h b/getcgi.h index 5886996..a28fd16 100644 --- a/getcgi.h +++ b/getcgi.h @@ -29,4 +29,13 @@ char x2c(const char *what); void unescape_url(char *url); char **getcgivars(int argc, char *argv[]); +/** + * cleanupcgi - free the memory allocated for our CGI parameters. + * @cgivars: The CGI parameter list to free. + * + * Frees up the elements of the CGI parameter array and then frees the + * array. + */ +void cleanupcgi(char **cgivars); + #endif /* __GETCGI_H_ */