Ignore:
Timestamp:
Jun 6, 2006 6:40:40 PM (18 years ago)
Author:
bennylp
Message:

Another huge chunks of modifications in PJSUA API, too many things to mention!

File:
1 edited

Legend:

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

    r487 r492  
    3333    unsigned             index;     /**< Index in pjsua array.              */ 
    3434    pjsip_inv_session   *inv;       /**< The invite session.                */ 
     35    pjsip_status_code    last_code; /**<Last status code seen.              */ 
    3536    pj_time_val          start_time;/**< First INVITE sent/received.        */ 
    3637    pj_time_val          res_time;  /**< First response sent/received.      */ 
     
    6263    pj_str_t             host;      /**< Buddy host.                    */ 
    6364    unsigned             port;      /**< Buddy port.                    */ 
    64     int                  acc_index; /**< Which account to use.          */ 
    6565    pj_bool_t            monitor;   /**< Should we monitor?             */ 
    6666    pjsip_evsub         *sub;       /**< Buddy presence subscription    */ 
     
    9090struct pjsua_acc 
    9191{ 
     92    pj_bool_t        valid;         /**< Is this account valid?         */ 
     93    pj_bool_t        auto_gen;      /**< Is this account generated.     */ 
    9294    int              index;         /**< Index in accounts array.       */ 
    9395    pj_str_t         user_part;     /**< User part of local URI.        */ 
     
    160162 
    161163    /* Account: */ 
     164    int              default_acc;   /**< Default account to use.        */ 
    162165    pjsua_acc        acc[PJSUA_MAX_ACC];    /** Client regs array.      */ 
    163166 
     
    176179    pjsua_call       calls[PJSUA_MAX_CALLS];    /** Calls array.        */ 
    177180 
    178  
    179181    /* SIMPLE and buddy status: */ 
    180182    pjsua_buddy      buddies[PJSUA_MAX_BUDDIES]; 
     
    186188 
    187189 
    188  
    189 /** 
    190  * Find account for incoming request. 
    191  */ 
    192 int pjsua_find_account_for_incoming(pjsip_rx_data *rdata); 
    193  
    194  
    195 /** 
    196  * Find account for outgoing request. 
    197  */ 
    198 int pjsua_find_account_for_outgoing(const pj_str_t *url); 
     190void pjsua_copy_config( pj_pool_t *pool, pjsua_config *dst,  
     191                        const pjsua_config *src); 
    199192 
    200193 
     
    224217pj_status_t pjsua_pres_init(); 
    225218 
     219 
     220/** 
     221 * Refresh both presence client and server subscriptions. 
     222 */ 
     223void pjsua_pres_refresh(void); 
    226224 
    227225/** 
     
    256254 
    257255 
     256extern pjsip_module pjsua_msg_logger; 
    258257 
    259258#endif  /* __PJSUA_IMP_H__ */ 
Note: See TracChangeset for help on using the changeset viewer.