Ignore:
Timestamp:
Jul 16, 2008 12:31:57 PM (16 years ago)
Author:
bennylp
Message:

Ticket #572: New PJSIP pjsip_msg_find_hdr_by_names() API to find SIP header by either header name or the short header name

File:
1 edited

Legend:

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

    r2039 r2146  
    789789 
    790790/**  
     791 * Find a header in the message by its name and short name version. 
     792 * 
     793 * @param msg       The message. 
     794 * @param name      The header name to find. 
     795 * @param sname     The short name version of the header name. 
     796 * @param start     The first header field where the search should begin. 
     797 *                  If NULL is specified, then the search will begin from the 
     798 *                  first header, otherwise the search will begin at the 
     799 *                  specified header. 
     800 * 
     801 * @return          The header field, or NULL if no header with the specified  
     802 *                  type is found. 
     803 */ 
     804PJ_DECL(void*)  pjsip_msg_find_hdr_by_names(const pjsip_msg *msg,  
     805                                            const pj_str_t *name,  
     806                                            const pj_str_t *sname, 
     807                                            const void *start); 
     808 
     809/**  
    791810 * Find and remove a header in the message.  
    792811 * 
Note: See TracChangeset for help on using the changeset viewer.