Changeset 141 for pjproject/trunk/pjsip/include/pjsip-ua/sip_regc.h
- Timestamp:
- Feb 7, 2006 6:48:01 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip-ua/sip_regc.h
r65 r141 27 27 #include <pjsip/sip_types.h> 28 28 #include <pjsip/sip_auth.h> 29 #include <pjsip_mod_ua/sip_ua.h>29 //#include <pjsip/sip_ua.h> 30 30 31 31 PJ_BEGIN_DECL … … 86 86 * @param token A data to be associated with the client registration struct. 87 87 * @param cb Pointer to callback function to receive registration status. 88 * 89 * @return client registration structure. 90 */ 91 PJ_DECL(pjsip_regc*) pjsip_regc_create( pjsip_endpoint *endpt, void *token, 92 pjsip_regc_cb *cb); 88 * @param p_regc Pointer to receive client registration structure. 89 * 90 * @return PJ_SUCCESS on success. 91 */ 92 PJ_DECL(pj_status_t) pjsip_regc_create( pjsip_endpoint *endpt, void *token, 93 pjsip_regc_cb *cb, 94 pjsip_regc **p_regc); 93 95 94 96 … … 99 101 * 100 102 * @param regc The client registration structure. 101 */ 102 PJ_DECL(void) pjsip_regc_destroy(pjsip_regc *regc); 103 * 104 * @return PJ_SUCCESS on success. 105 */ 106 PJ_DECL(pj_status_t) pjsip_regc_destroy(pjsip_regc *regc); 103 107 104 108 /** … … 138 142 * Set authentication credentials to use by this registration. 139 143 * 140 * @param dlg 141 * @param count 142 * @param cred 143 * 144 * @return Zeroon success.144 * @param dlg The registration structure. 145 * @param count Number of credentials in the array. 146 * @param cred Array of credentials. 147 * 148 * @return PJ_SUCCESS on success. 145 149 */ 146 150 PJ_DECL(pj_status_t) pjsip_regc_set_credentials( pjsip_regc *regc, … … 158 162 * @param autoreg If non zero, the library will automatically refresh the 159 163 * next registration until application unregister. 160 * 161 * @return SIP REGISTER request. 162 */ 163 PJ_DECL(pjsip_tx_data*) pjsip_regc_register(pjsip_regc *regc, pj_bool_t autoreg); 164 * @param p_tdata Pointer to receive the REGISTER request. 165 * 166 * @return PJ_SUCCESS on success. 167 */ 168 PJ_DECL(pj_status_t) pjsip_regc_register(pjsip_regc *regc, pj_bool_t autoreg, 169 pjsip_tx_data **p_tdata); 164 170 165 171 … … 168 174 * 169 175 * @param regc The client registration structure. 170 * 171 * @return SIP REGISTER request. 172 */ 173 PJ_DECL(pjsip_tx_data*) pjsip_regc_unregister(pjsip_regc *regc); 176 * @param p_tdata Pointer to receive the REGISTER request. 177 * 178 * @return PJ_SUCCESS on success. 179 */ 180 PJ_DECL(pj_status_t) pjsip_regc_unregister(pjsip_regc *regc, 181 pjsip_tx_data **p_tdata); 174 182 175 183 /** … … 202 210 * @param regc The client registration structure. 203 211 * @param tdata Transmit data. 204 */ 205 PJ_DECL(void) pjsip_regc_send(pjsip_regc *regc, pjsip_tx_data *tdata); 212 * 213 * @return PJ_SUCCESS on success. 214 */ 215 PJ_DECL(pj_status_t) pjsip_regc_send(pjsip_regc *regc, pjsip_tx_data *tdata); 206 216 207 217
Note: See TracChangeset
for help on using the changeset viewer.