summaryrefslogtreecommitdiff
path: root/plugins/HTTPServer/src/MimeHandling.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-06-14 22:35:16 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-06-14 22:35:16 +0000
commit3942df7207beeb9f2fc08a6deb1d375badbe066a (patch)
tree10cff5e3f6b525410e00207d05578b30025c7d9f /plugins/HTTPServer/src/MimeHandling.h
parentc5fb4140e75fe56e24caa98fda1f13b14955efe9 (diff)
plugin unicoded
git-svn-id: http://svn.miranda-ng.org/main/trunk@9488 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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
}