Browse code

parser/parse_content: add support for the ISUP subtype

Torrey Searle authored on 08/04/2013 09:17:04
Showing 2 changed files
... ...
@@ -204,11 +204,15 @@ static type_node_t subtype_tree[] = {
204 204
 											{'o',SUBTYPE_UNKNOWN,1,-1},
205 205
 												{'d',SUBTYPE_UNKNOWN,1,-1},
206 206
 													{'y',SUBTYPE_EXTERNAL_BODY,0,-1},
207
-	{'m',SUBTYPE_UNKNOWN,1,-1}, /* 107 */
207
+	{'m',SUBTYPE_UNKNOWN,1,112}, /* 107 */
208 208
 		{'i',SUBTYPE_UNKNOWN,1,-1},
209 209
 			{'x',SUBTYPE_UNKNOWN,1,-1},
210 210
 				{'e',SUBTYPE_UNKNOWN,1,-1},
211 211
 					{'d',SUBTYPE_MIXED,0,-1},
212
+	{'i',SUBTYPE_UNKNOWN,1,-1}, /* 112 */
213
+		{'s',SUBTYPE_UNKNOWN,1,-1},
214
+			{'u',SUBTYPE_UNKNOWN,1,-1},
215
+				{'p',SUBTYPE_ISUP,0,-1},
212 216
 };
213 217
 
214 218
 
... ...
@@ -64,6 +64,7 @@ struct mime_type {
64 64
 #define SUBTYPE_XML_MSRTC_PIDF     12
65 65
 #define SUBTYPE_CPIM_PIDFXML       13
66 66
 #define SUBTYPE_MIXED              14
67
+#define SUBTYPE_ISUP               15
67 68
 #define SUBTYPE_ALL          0xfe
68 69
 #define SUBTYPE_UNKNOWN      0xff
69 70