diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-06-17 04:08:30 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-06-17 04:08:30 +0000 |
commit | 3034f9480369cb8083cd625b358354b4618cd985 (patch) | |
tree | 93b19f8af9d64b7916825c9ee9a99dc88586cd8a /pjsip/include/pjsip-ua/sip_regc.h | |
parent | edf38f478920a443dc29cf3d638e6b27d7a838e6 (diff) |
Modifications all over the place, but mainly only to update Doxygen documentation
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@515 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/include/pjsip-ua/sip_regc.h')
-rw-r--r-- | pjsip/include/pjsip-ua/sip_regc.h | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/pjsip/include/pjsip-ua/sip_regc.h b/pjsip/include/pjsip-ua/sip_regc.h index d86c330e..a071fcc1 100644 --- a/pjsip/include/pjsip-ua/sip_regc.h +++ b/pjsip/include/pjsip-ua/sip_regc.h @@ -26,18 +26,22 @@ #include <pjsip/sip_types.h> #include <pjsip/sip_auth.h> -//#include <pjsip/sip_ua.h> -PJ_BEGIN_DECL /** - * @defgroup PJSUA_REGC SIP Registration Client - * @ingroup PJSUA + * @defgroup PJSUA_REGC Client Registration + * @ingroup PJSIP_HIGH_UA + * @brief High Layer API for performing client registration. * @{ - * \brief - * API for performing registration for user agent. + * + * This provides API for performing client registration. Application must + * link with <b>pjsip-ua</b> static library to use this API. + */ + +PJ_BEGIN_DECL + /** Typedef for client registration data. */ typedef struct pjsip_regc pjsip_regc; @@ -56,15 +60,15 @@ typedef struct pjsip_regc pjsip_regc; */ struct pjsip_regc_cbparam { - pjsip_regc *regc; - void *token; - int code; - pj_status_t status; - pj_str_t reason; - pjsip_rx_data *rdata; - int contact_cnt; - int expiration; - pjsip_contact_hdr *contact[PJSIP_REGC_MAX_CONTACT]; + pjsip_regc *regc; /**< Client registration structure. */ + void *token; /**< Arbitrary token. */ + pj_status_t status; /**< Error status. */ + int code; /**< SIP status code received. */ + pj_str_t reason; /**< SIP reason phrase received. */ + pjsip_rx_data *rdata; /**< The complete received response. */ + int expiration;/**< Next expiration interval. */ + int contact_cnt;/**<Number of contacts in response. */ + pjsip_contact_hdr *contact[PJSIP_REGC_MAX_CONTACT]; /**< Contacts. */ }; @@ -149,6 +153,7 @@ PJ_DECL(pj_pool_t*) pjsip_regc_get_pool(pjsip_regc *regc); * perform the registration. * * @param regc The client registration structure. + * @param srv_url Server URL. * @param from_url The person performing the registration, must be a SIP URL type. * @param to_url The address of record for which the registration is targetd, must * be a SIP/SIPS URL. @@ -259,4 +264,8 @@ PJ_DECL(pj_status_t) pjsip_regc_send(pjsip_regc *regc, pjsip_tx_data *tdata); PJ_END_DECL +/** + * @} + */ + #endif /* __PJSIP_REG_H__ */ |