Ignore:
Timestamp:
Mar 19, 2015 4:59:23 AM (9 years ago)
Author:
riza
Message:

Re #1825: Implement new on_reg_started2 callback

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r4996 r4999  
    478478    struct pjsip_regc_cbparam   *cbparam;   /**< Parameters returned by 
    479479                                                 registration callback. */ 
     480    pjsip_regc                  *regc;      /**< Client registration  
     481                                                 structure. */   
     482    pj_bool_t                    renew;     /**< Non-zero for registration and  
     483                                                 zero for unregistration. */ 
    480484} pjsua_reg_info; 
    481485 
     
    908912     */ 
    909913    void (*on_reg_started)(pjsua_acc_id acc_id, pj_bool_t renew); 
     914 
     915    /** 
     916     * This is the alternative version of the \a on_reg_started() callback with 
     917     * \a pjsua_reg_info argument. 
     918     * 
     919     * @param acc_id        The account ID. 
     920     * @param info          The registration info. 
     921     */ 
     922    void (*on_reg_started2)(pjsua_acc_id acc_id,  
     923                            pjsua_reg_info *info); 
    910924     
    911925    /** 
Note: See TracChangeset for help on using the changeset viewer.