Ignore:
Timestamp:
Oct 13, 2010 9:41:37 AM (14 years ago)
Author:
bennylp
Message:

Fixed #1147: Bug in parsing multipart message bodies (thanks Johan Lantz for the report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_msg.h

    r3241 r3340  
    547547 * @param mt1           The first media type. 
    548548 * @param mt2           The second media type. 
     549 * @param cmp_param     Specify how to compare the media type parameters: 
     550 *                       - 0: do not compare parameters 
     551 *                       - 1: compare parameters but ignore parameters that 
     552 *                            only appear in one of the media type. 
     553 *                       - 2: compare the parameters. 
    549554 * 
    550555 * @return              Zero if both media types are equal, -1 if mt1 < mt2, 
     
    552557 */ 
    553558PJ_DECL(int) pjsip_media_type_cmp(const pjsip_media_type *mt1, 
    554                                   const pjsip_media_type *mt2); 
     559                                  const pjsip_media_type *mt2, 
     560                                  int cmp_param); 
    555561 
    556562/** 
Note: See TracChangeset for help on using the changeset viewer.