Changeset 141 for pjproject/trunk/pjsip/src/pjsua/pjsua.h
- Timestamp:
- Feb 7, 2006 6:48:01 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua/pjsua.h
r139 r141 48 48 49 49 /* User info: */ 50 50 51 pj_str_t local_uri; /**< Uri in From: header. */ 51 52 pj_str_t contact_uri; /**< Uri in Contact: header. */ 53 54 /* Proxy URLs: */ 55 56 pj_str_t proxy; 57 pj_str_t outbound_proxy; 58 59 /* Registration: */ 60 61 pj_str_t registrar_uri; 62 pjsip_regc *regc; 63 pj_int32_t reg_timeout; 64 pj_timer_entry regc_timer; 65 66 67 /* Authentication credentials: */ 68 69 int cred_count; 70 pjsip_cred_info cred_info[4]; 71 52 72 53 73 /* Threading: */ … … 77 97 78 98 99 /* Media stack: */ 100 101 pj_bool_t null_audio; 102 pj_med_mgr_t *mmgr; 103 104 79 105 /* Misc: */ 80 106 … … 82 108 int app_log_level; /**< stdout log verbosity. */ 83 109 unsigned log_decor; /**< Log decoration. */ 110 char *log_filename; /**< Log filename. */ 84 111 85 112 } pjsua; … … 103 130 104 131 /** 105 * Initialize pjsua application. 106 * This will start the registration process, if registration is configured. 132 * Initialize pjsua application. Application can call this before parsing 133 * application settings. 134 * 135 * This will initialize all libraries, create endpoint instance, and register 136 * pjsip modules. Transport will NOT be created however. 137 * 138 * Application may register module after calling this function. 107 139 */ 108 140 pj_status_t pjsua_init(void); 141 142 143 /** 144 * Start pjsua stack. Application calls this after pjsua settings has been 145 * configured. 146 * 147 * This will start the transport, worker threads (if any), and registration 148 * process, if registration is configured. 149 */ 150 pj_status_t pjsua_start(void); 109 151 110 152 … … 123 165 124 166 /***************************************************************************** 167 * PJSUA Client Registration API. 168 */ 169 170 /** 171 * Initialize client registration session. 172 * 173 * @param app_callback Optional callback 174 */ 175 pj_status_t pjsua_regc_init(void); 176 177 /** 178 * Update registration or perform unregistration. If renew argument is zero, 179 * this will start unregistration process. 180 */ 181 void pjsua_regc_update(pj_bool_t renew); 182 183 184 /***************************************************************************** 125 185 * User Interface API. 126 186 * The UI API specifies functions that will be called by pjsua upon … … 131 191 * Notify UI when invite state has changed. 132 192 */ 133 void ui_inv_on_state_changed(pjsip_inv_session *inv, pjsip_event *e);193 void pjsua_ui_inv_on_state_changed(pjsip_inv_session *inv, pjsip_event *e); 134 194 135 195
Note: See TracChangeset
for help on using the changeset viewer.