X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=getcgi.h;fp=getcgi.h;h=a28fd165f3d68ad94251071e110455ba7da8801e;hb=93ff5d2dc0bd9248cb9b66533b1fe65654f8cafa;hp=5886996b3e07e052f12712f23485103f99ca7197;hpb=6e5b15819a125240c19a44db59894a04eeee7b41;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_ */