Browse code

- MIME subtype CPL extended to CPL+XML

Bogdan-Andrei Iancu authored on 10/09/2003 18:12:51
Showing 2 changed files
... ...
@@ -97,7 +97,11 @@ static type_node_t subtype_tree[] = {
97 97
 			{'p',SUBTYPE_UNKNOWN,2,-1},
98 98
 				{'i',SUBTYPE_UNKNOWN,1,9},
99 99
 					{'m',SUBTYPE_CPIM,0,-1},
100
-				{'l',SUBTYPE_CPL,0,-1},
100
+				{'l',SUBTYPE_UNKNOWN,1,-1},
101
+					{'+',TYPE_UNKNOWN,1,-1},
102
+						{'x',TYPE_UNKNOWN,1,-1},
103
+							{'m',TYPE_UNKNOWN,1,-1},
104
+								{'l',SUBTYPE_CPLXML,0,-1},
101 105
 		{'s',SUBTYPE_UNKNOWN,1,-1},
102 106
 			{'d',SUBTYPE_UNKNOWN,1,-1},
103 107
 				{'p',SUBTYPE_SDP,0,-1},
... ...
@@ -51,7 +51,7 @@ struct mime_type {
51 51
 #define SUBTYPE_PLAIN        1
52 52
 #define SUBTYPE_CPIM         2
53 53
 #define SUBTYPE_SDP          3
54
-#define SUBTYPE_CPL          4
54
+#define SUBTYPE_CPLXML       4
55 55
 #define SUBTYPE_ALL          0xfe
56 56
 #define SUBTYPE_UNKNOWN      0xff
57 57