summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/HTTPServer/MimeHandling.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/!NotAdopted/HTTPServer/MimeHandling.h')
-rw-r--r--plugins/!NotAdopted/HTTPServer/MimeHandling.h52
1 files changed, 0 insertions, 52 deletions
diff --git a/plugins/!NotAdopted/HTTPServer/MimeHandling.h b/plugins/!NotAdopted/HTTPServer/MimeHandling.h
deleted file mode 100644
index f40fdf94c8..0000000000
--- a/plugins/!NotAdopted/HTTPServer/MimeHandling.h
+++ /dev/null
@@ -1,52 +0,0 @@
-#define LINE_MAX_SIZE 512
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#define szMimeTypeConfigFile "HTTPMimeTypes"
-
- /* 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