X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/200b89a2c66c58c41a27883f021850445698b337..8d69a3a1fe658793c25cbc1e3e45fe6cdcd629eb:/getcgi.h?ds=sidebyside 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_ */