move struct uploaded_file to webcit.h
[citadel.git] / webcit-ng / server / webcit.h
index a52ac59930bf530a3e5beef8bc0397c40c9007db..64368b0e5c6169bb206a77d0f8b2e53c6c26522b 100644 (file)
@@ -95,6 +95,14 @@ struct ctdlsession {
        time_t room_mtime;                      // Timestampt of the most recent write activity in this room
 };
 
+struct uploaded_file {                         // things that have been uploaded to the server (such as email attachments)
+       char id[64];
+       char filename[256];
+       char content_type[256];
+       long length;
+       FILE *fp;
+};
+
 extern char *ssl_cipher_list;
 extern int is_https;                           // nonzero if we are an HTTPS server today
 extern char *ctdl_dir;                         // directory where Citadel Server is running