summaryrefslogtreecommitdiff
path: root/plugins/HTTPServer/src/MimeHandling.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HTTPServer/src/MimeHandling.h')
-rw-r--r--plugins/HTTPServer/src/MimeHandling.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/HTTPServer/src/MimeHandling.h b/plugins/HTTPServer/src/MimeHandling.h
index f40fdf94c8..80efcc1243 100644
--- a/plugins/HTTPServer/src/MimeHandling.h
+++ b/plugins/HTTPServer/src/MimeHandling.h
@@ -4,7 +4,7 @@
extern "C" {
#endif
-#define szMimeTypeConfigFile "HTTPMimeTypes"
+#define szMimeTypeConfigFile _T("HTTPMimeTypes")
/* MIME DB Data structure
@@ -28,24 +28,24 @@ extern "C" {
*/
typedef struct _ExtensionListCell {
- char* ext;
- struct _ExtensionListCell* next;
- } ExtensionListCell ;
+ TCHAR *ext;
+ struct _ExtensionListCell *next;
+ } ExtensionListCell;
typedef struct _ContentType {
- char* mimeType;
- ExtensionListCell* extList;
- struct _ContentType* next;
- } ContentType ;
+ TCHAR *mimeType;
+ ExtensionListCell *extList;
+ struct _ContentType *next;
+ } ContentType;
- typedef ContentType* ContentTypeDB;
- typedef ExtensionListCell* ExtensionList;
+ typedef ContentType *ContentTypeDB;
+ typedef ExtensionListCell *ExtensionList;
extern int bInitMimeHandling();
- extern const char * pszGetMimeType(const char * pszFileName);
+ extern const TCHAR *pszGetMimeType(const TCHAR *pszFileName);
#ifdef __cplusplus
}