diff options
author | Adam Chlipala <adamc@hcoop.net> | 2009-04-25 14:47:16 -0400 |
---|---|---|
committer | Adam Chlipala <adamc@hcoop.net> | 2009-04-25 14:47:16 -0400 |
commit | d2274ae571370a5f0b88a6b0a5b264fde29378b9 (patch) | |
tree | a76de7cb5b97a481d0ef3ddb3b406ae4b0f67a7f /include | |
parent | 3d0a7f3cd81daaa7d49de95de7fe4eb8d1288876 (diff) |
Add MIME type to file
Diffstat (limited to 'include')
-rw-r--r-- | include/types.h | 2 | ||||
-rw-r--r-- | include/urweb.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/types.h b/include/types.h index 69407b07..90a9f524 100644 --- a/include/types.h +++ b/include/types.h @@ -29,7 +29,7 @@ typedef struct { } uw_Basis_channel; typedef struct uw_Basis_file { - uw_Basis_string name; + uw_Basis_string name, type; uw_Basis_blob data; } uw_Basis_file; diff --git a/include/urweb.h b/include/urweb.h index 46eaab5f..cba746d4 100644 --- a/include/urweb.h +++ b/include/urweb.h @@ -163,5 +163,6 @@ uw_Basis_string uw_Basis_makeSigString(uw_context, uw_Basis_string); uw_Basis_string uw_Basis_sigString(uw_context, uw_unit); uw_Basis_string uw_Basis_fileName(uw_context, uw_Basis_file); +uw_Basis_string uw_Basis_fileMimeType(uw_context, uw_Basis_file); uw_Basis_blob uw_Basis_fileData(uw_context, uw_Basis_file); |