diff options
author | dartraiden <wowemuh@gmail.com> | 2023-01-14 01:30:59 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2023-01-14 01:30:59 +0300 |
commit | de40f3be3f08487937525c2ef096dad665dda61d (patch) | |
tree | eb1205f8dca7c30b561a2776f9527072bd92eaf1 /plugins/HTTPServer/src | |
parent | dd743899a769120ba2321230afddd6e4f1271872 (diff) |
Convert sources to CR+LF
Diffstat (limited to 'plugins/HTTPServer/src')
-rw-r--r-- | plugins/HTTPServer/src/MimeHandling.h | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/plugins/HTTPServer/src/MimeHandling.h b/plugins/HTTPServer/src/MimeHandling.h index 6a5b3dc61c..768221778f 100644 --- a/plugins/HTTPServer/src/MimeHandling.h +++ b/plugins/HTTPServer/src/MimeHandling.h @@ -11,44 +11,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
|