You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.2 KiB
50 lines
1.2 KiB
|
20 years ago
|
Index: hdrs/misclib.h
|
||
|
|
--- hdrs/misclib.h.orig 2006-07-05 19:21:50 +0200
|
||
|
|
+++ hdrs/misclib.h 2006-07-28 19:05:26 +0200
|
||
|
|
@@ -7,6 +7,21 @@
|
||
|
|
* or Kari Hurtta <elm@elmme-mailer.org>
|
||
|
|
*****************************************************************************/
|
||
|
|
|
||
|
|
+struct mime_types_item {
|
||
|
|
+ char * extension;
|
||
|
|
+ struct media_type * type;
|
||
|
|
+
|
||
|
|
+ char * params;
|
||
|
|
+ charset_t params_cs;
|
||
|
|
+
|
||
|
|
+ /* magic */
|
||
|
|
+ int offset;
|
||
|
|
+ int length;
|
||
|
|
+ unsigned char * bytes;
|
||
|
|
+
|
||
|
|
+};
|
||
|
|
+
|
||
|
|
+
|
||
|
|
/* lib/misc/init.c */
|
||
|
|
|
||
|
|
extern struct terminal_map_item * system_terminal_map;
|
||
|
|
Index: lib/misc/mime_types.c
|
||
|
|
--- lib/misc/mime_types.c.orig 2006-07-05 19:21:50 +0200
|
||
|
|
+++ lib/misc/mime_types.c 2006-07-28 19:05:26 +0200
|
||
|
|
@@ -25,20 +25,6 @@
|
||
|
|
return (unsigned char *)str;
|
||
|
|
}
|
||
|
|
|
||
|
|
-struct mime_types_item {
|
||
|
|
- char * extension;
|
||
|
|
- struct media_type * type;
|
||
|
|
-
|
||
|
|
- char * params;
|
||
|
|
- charset_t params_cs;
|
||
|
|
-
|
||
|
|
- /* magic */
|
||
|
|
- int offset;
|
||
|
|
- int length;
|
||
|
|
- unsigned char * bytes;
|
||
|
|
-
|
||
|
|
-};
|
||
|
|
-
|
||
|
|
/* -------------------------------------------------------------------- */
|
||
|
|
|
||
|
|
#define U_(x) (unsigned char *)(x)
|