]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/server/webcit.h
upload: reduce attachment identifiers to 9 characters.
[citadel.git] / webcit-ng / server / webcit.h
index a52ac59930bf530a3e5beef8bc0397c40c9007db..0b415ade0885c52b259908b503fb725c9affc5b7 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[10];
+       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