X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/200b89a2c66c58c41a27883f021850445698b337..a534b3b856a1e3cbfe60bc0bca432e802f9718be:/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_ */