diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-06-19 20:03:37 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-06-19 20:03:37 +0000 |
commit | ee8b6d3e7acadbd3bd87a1c3cfb06e7b7af88c64 (patch) | |
tree | 709e1c4b33d035e228091cf8bc3edbd6e2159a53 /plugins/HTTPServer/src/MimeHandling.h | |
parent | 4b546fcda174b787db34d6c95f122f21fb6c99b3 (diff) |
revert unicode
git-svn-id: http://svn.miranda-ng.org/main/trunk@9543 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HTTPServer/src/MimeHandling.h')
-rw-r--r-- | plugins/HTTPServer/src/MimeHandling.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/HTTPServer/src/MimeHandling.h b/plugins/HTTPServer/src/MimeHandling.h index 80efcc1243..f40fdf94c8 100644 --- a/plugins/HTTPServer/src/MimeHandling.h +++ b/plugins/HTTPServer/src/MimeHandling.h @@ -4,7 +4,7 @@ extern "C" {
#endif
-#define szMimeTypeConfigFile _T("HTTPMimeTypes")
+#define szMimeTypeConfigFile "HTTPMimeTypes"
/* MIME DB Data structure
@@ -28,24 +28,24 @@ extern "C" { */ typedef struct _ExtensionListCell { - TCHAR *ext; - struct _ExtensionListCell *next; - } ExtensionListCell; + char* ext; + struct _ExtensionListCell* next; + } ExtensionListCell ; typedef struct _ContentType { - TCHAR *mimeType; - ExtensionListCell *extList; - struct _ContentType *next; - } ContentType; + char* mimeType; + ExtensionListCell* extList; + struct _ContentType* next; + } ContentType ; - typedef ContentType *ContentTypeDB; - typedef ExtensionListCell *ExtensionList; + typedef ContentType* ContentTypeDB; + typedef ExtensionListCell* ExtensionList; extern int bInitMimeHandling(); - extern const TCHAR *pszGetMimeType(const TCHAR *pszFileName); + extern const char * pszGetMimeType(const char * pszFileName); #ifdef __cplusplus } |