Ignore:
Timestamp:
Jan 10, 2006 1:31:40 PM (18 years ago)
Author:
bennylp
Message:

Renamed pjsip_url to pjsip_sip_uri

File:
1 edited

Legend:

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

    r109 r119  
    717717 *      other list (or message). Otherwise Real Bad Thing will happen. 
    718718 */ 
    719 PJ_IDECL(void) pjsip_msg_add_hdr( pjsip_msg *msg, pjsip_hdr *hdr ); 
     719PJ_INLINE(void) pjsip_msg_add_hdr( pjsip_msg *msg, pjsip_hdr *hdr ) 
     720{ 
     721    pj_list_insert_before(&msg->hdr, hdr); 
     722} 
    720723 
    721724/**  
     
    728731 *      other list (or message). Otherwise Real Bad Thing will happen. 
    729732 */ 
    730 PJ_IDECL(void) pjsip_msg_insert_first_hdr( pjsip_msg *msg, pjsip_hdr *hdr ); 
     733PJ_INLINE(void) pjsip_msg_insert_first_hdr( pjsip_msg *msg, pjsip_hdr *hdr ) 
     734{ 
     735    pj_list_insert_after(&msg->hdr, hdr); 
     736} 
    731737 
    732738/**  
     
    15521558 */ 
    15531559 
    1554 /* 
    1555  * Include inline definitions. 
    1556  */ 
    1557 #if PJ_FUNCTIONS_ARE_INLINED 
    1558 #  include <pjsip/sip_msg_i.h> 
    1559 #endif 
    1560  
    15611560 
    15621561PJ_END_DECL 
Note: See TracChangeset for help on using the changeset viewer.