X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserver.h;h=cfdea64cd64e1043e0a74e5fa9069b20b1ffed7e;hb=01feb53d65843a957635a16c3cccafe2b718777a;hp=9f456c7f9451d66f411d84983e465f72e449c388;hpb=e815bc2c94a280aabc5780c950ce923ebce0fb04;p=citadel.git diff --git a/citadel/server.h b/citadel/server.h index 9f456c7f9..cfdea64cd 100644 --- a/citadel/server.h +++ b/citadel/server.h @@ -103,6 +103,7 @@ struct CitContext { char upl_path[PATH_MAX]; char upl_comment[256]; char upl_filedir[PATH_MAX]; + char upl_mimetype[64]; char dl_is_net; char upload_type; @@ -360,6 +361,7 @@ struct MetaData { int meta_refcount; /* Number of rooms pointing to this msg */ char meta_content_type[64]; /* Cached MIME content-type */ long meta_rfc822_length; /* Cache of RFC822-translated msg length */ + char mimetype[64]; /* if we were able to guess the mimetype for the data */ }; /* Calls to AdjRefCount() are queued and deferred, so the user doesn't