Ignore:
Timestamp:
Feb 11, 2011 7:39:14 AM (11 years ago)
Author:
ming
Message:

Re #1161: Support for adding custom presence subscription headers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip-simple/evsub.h

    r2394 r3412  
    381381 
    382382/** 
     383 * Add a list of headers to the subscription instance. The list of headers 
     384 * will be added to outgoing presence subscription requests. 
     385 * 
     386 * @param sub           Subscription instance. 
     387 * @param hdr_list      List of headers to be added. 
     388 * 
     389 * @return              PJ_SUCCESS on success. 
     390 */ 
     391PJ_DECL(pj_status_t) pjsip_evsub_add_header( pjsip_evsub *sub, 
     392                                             const pjsip_hdr *hdr_list ); 
     393 
     394 
     395/** 
    383396 * Accept the incoming subscription request by sending 2xx response to 
    384397 * incoming SUBSCRIBE request. 
Note: See TracChangeset for help on using the changeset viewer.