diff options
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 } |