Ignore:
Timestamp:
Aug 15, 2006 1:11:22 PM (18 years ago)
Author:
bennylp
Message:

Added initial PUBLISH client support, and also default account selection in pjsua/pjsua-lib

File:
1 edited

Legend:

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

    r659 r683  
    11611161 */ 
    11621162PJ_DECL(pj_bool_t) pjsua_acc_is_valid(pjsua_acc_id acc_id); 
     1163 
     1164 
     1165/** 
     1166 * Set default account to be used when incoming and outgoing 
     1167 * requests doesn't match any accounts. 
     1168 * 
     1169 * @param acc_id        The account ID to be used as default. 
     1170 * 
     1171 * @return              PJ_SUCCESS on success. 
     1172 */ 
     1173PJ_DECL(pj_status_t) pjsua_acc_set_default(pjsua_acc_id acc_id); 
     1174 
     1175 
     1176/** 
     1177 * Get default account. 
     1178 * 
     1179 * @return              The default account ID, or PJSUA_INVALID_ID if no 
     1180 *                      default account is configured. 
     1181 */ 
     1182PJ_DECL(pjsua_acc_id) pjsua_acc_get_default(void); 
    11631183 
    11641184 
Note: See TracChangeset for help on using the changeset viewer.