From: Joey Schulze Date: Sun, 2 Dec 2007 21:48:26 +0000 (+0000) Subject: data structure for uploaded files X-Git-Tag: cgilib_0-6~40 X-Git-Url: https://git.infodrom.org/?p=infodrom%2Fcgilib;a=commitdiff_plain;h=b2538e1321055a5df0b914d1b779635718622e80 data structure for uploaded files --- diff --git a/cgi.h b/cgi.h index c663ef4..79e438e 100644 --- a/cgi.h +++ b/cgi.h @@ -33,9 +33,17 @@ typedef struct cookie_s { *domain; } s_cookie; +typedef struct file_s { + char *name, + *type, + *filename, + *tmpfile; +} s_file; + typedef struct cgi_s { s_var **vars; s_cookie **cookies; + s_file **files; } s_cgi; /* cgiSetHeader