X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=getcgi.h;h=a28fd165f3d68ad94251071e110455ba7da8801e;hb=168d9233fd2efadcb50f76e57f960fb875383fbb;hp=5886996b3e07e052f12712f23485103f99ca7197;hpb=200b89a2c66c58c41a27883f021850445698b337;p=onak.git 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_ */