diff options
author | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2012-01-14 19:18:42 +0000 |
---|---|---|
committer | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2012-01-14 19:18:42 +0000 |
commit | 0aafc6c4b2e485f5ee9bb0bdf3e687525859cb03 (patch) | |
tree | 73230de5fcc8ba7a89a8185f49dfb74313e02558 /HTTPServer/MimeHandling.h | |
parent | 03d88e9750c2d983318035dcd33da24875799b4c (diff) |
HTTPServer (patch from FREAK_THEMIGHTY):
code cleanup
header reorganisation
MM_INTERFACE support
new langpacks support
rather technical changes
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@258 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'HTTPServer/MimeHandling.h')
-rw-r--r-- | HTTPServer/MimeHandling.h | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/HTTPServer/MimeHandling.h b/HTTPServer/MimeHandling.h index f40fdf9..8286ff4 100644 --- a/HTTPServer/MimeHandling.h +++ b/HTTPServer/MimeHandling.h @@ -9,44 +9,44 @@ extern "C" { /* MIME DB Data structure
---------- ----------
- | mimeType | | mimeType | - |----------| |----------| - ----| next -----------------| next | - |----------| |----------| - | extList --- | extList --- - ---------- | ---------- | - --|--- --|--- - | ext | | ext | - |------| |------| - | next | | next | - --|--- ------ - --|--- - | ext | - |------| - | next | - ------ - */ - - typedef struct _ExtensionListCell { - char* ext; - struct _ExtensionListCell* next; - } ExtensionListCell ; - - - typedef struct _ContentType { - char* mimeType; - ExtensionListCell* extList; - struct _ContentType* next; - } ContentType ; - - typedef ContentType* ContentTypeDB; - typedef ExtensionListCell* ExtensionList; - - - - extern int bInitMimeHandling(); - extern const char * pszGetMimeType(const char * pszFileName); - -#ifdef __cplusplus -} -#endif + | mimeType | | mimeType |
+ |----------| |----------|
+ ----| next -----------------| next |
+ |----------| |----------|
+ | extList --- | extList ---
+ ---------- | ---------- |
+ --|--- --|---
+ | ext | | ext |
+ |------| |------|
+ | next | | next |
+ --|--- ------
+ --|---
+ | ext |
+ |------|
+ | next |
+ ------
+ */
+
+ typedef struct _ExtensionListCell {
+ char* ext;
+ struct _ExtensionListCell* next;
+ } ExtensionListCell ;
+
+
+ typedef struct _ContentType {
+ char* mimeType;
+ ExtensionListCell* extList;
+ struct _ContentType* next;
+ } ContentType ;
+
+ typedef ContentType* ContentTypeDB;
+ typedef ExtensionListCell* ExtensionList;
+
+
+
+ extern int bInitMimeHandling();
+ extern const char * pszGetMimeType(const char * pszFileName);
+
+#ifdef __cplusplus
+}
+#endif
|