data structure for uploaded files
authorJoey Schulze <joey@infodrom.org>
Sun, 2 Dec 2007 21:48:26 +0000 (21:48 +0000)
committerJoey Schulze <joey@infodrom.org>
Sun, 2 Dec 2007 21:48:26 +0000 (21:48 +0000)
cgi.h

diff --git a/cgi.h b/cgi.h
index c663ef4..79e438e 100644 (file)
--- 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