summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2012-08-30 14:23:28 +0000
committerMatthew Jordan <mjordan@digium.com>2012-08-30 14:23:28 +0000
commit8018b879a2a77a9408b7c848dc550c8f1ae5a15a (patch)
treeca11d0062aa2dabe13e1ff45a2e95ceb96ba39f1 /channels
parent4781be6e934065ab0de59455c24e757a17f3f0e8 (diff)
Clean up doxygen warnings
This patch fixes numerous doxygen warnings across Asterisk. It also updates the makefile to regenerate the doxygen configuration on the local system before running doxygen to help prevent warnings/errors on the local system. Much thanks to Andrew for tackling one of the Asterisk janitor projects! (issue ASTERISK-20259) Reported by: Andrew Latham Patches: doxygen_partial.diff uploaded by Andrew Latham (license 5985) make_progdocs.diff uploaded by Andrew Latham (license 5985) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@371989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_agent.c2
-rw-r--r--channels/chan_sip.c22
-rw-r--r--channels/sig_pri.h2
-rw-r--r--channels/sip/include/srtp.h2
-rw-r--r--channels/sip/srtp.c2
5 files changed, 18 insertions, 12 deletions
diff --git a/channels/chan_agent.c b/channels/chan_agent.c
index 888f06831..30ce3d8eb 100644
--- a/channels/chan_agent.c
+++ b/channels/chan_agent.c
@@ -382,7 +382,7 @@ static struct ast_channel_tech agent_tech = {
* unrefed once it is no longer needed.
*
* \param pvt Pointer to the LOCKED agent_pvt for which the owner is needed
- * \ret locked channel which owns the pvt at the time of completion. NULL if not available.
+ * \ref locked channel which owns the pvt at the time of completion. NULL if not available.
*/
static struct ast_channel *agent_lock_owner(struct agent_pvt *pvt)
{
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index c5badfe90..1de780634 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -5367,7 +5367,7 @@ static struct sip_peer *sip_find_peer_full(const char *peer, struct ast_sockaddr
/*!
* \brief Locate device by name or ip address
- * \param peer, sin, realtime, devstate_only, transport
+ * \param peer, addr, realtime, devstate_only, transport
* \param which_objects Define which objects should be matched when doing a lookup
* by name. Valid options are FINDUSERS, FINDPEERS, or FINDALLDEVICES.
* Note that this option is not used at all when doing a lookup by IP.
@@ -10965,7 +10965,7 @@ static void add_route(struct sip_request *req, struct sip_route *route)
/*! \brief Set destination from SIP URI
*
* Parse uri to h (host) and port - uri is already just the part inside the <>
- * general form we are expecting is sip[s]:username[:password][;parameter]@host[:port][;...]
+ * general form we are expecting is \verbatim sip[s]:username[:password][;parameter]@host[:port][;...] \endverbatim
* If there's a port given, turn NAPTR/SRV off. NAPTR might indicate SIPS preference even
* for SIP: uri's
*
@@ -15430,8 +15430,14 @@ static void list_route(struct sip_route *route)
}
}
-/*! \brief Build route list from Record-Route header
- \param resp the SIP response code or 0 for a request */
+/*! \brief Build route list from Record-Route header
+ *
+ * \param p
+ * \param req
+ * \param backwards
+ * \param resp the SIP response code or 0 for a request
+ *
+ */
static void build_route(struct sip_pvt *p, struct sip_request *req, int backwards, int resp)
{
struct sip_route *thishop, *head, *tail;
@@ -28415,7 +28421,7 @@ enum st_refresher st_get_refresher(struct sip_pvt *p)
/*!
* \brief Get the session-timer mode
* \param p pointer to the SIP dialog
- * \param no_cached, set this to true in order to force a peername lookup on
+ * \param no_cached Set this to true in order to force a peername lookup on
* the session timer mode.
*/
enum st_mode st_get_mode(struct sip_pvt *p, int no_cached)
@@ -32260,7 +32266,7 @@ static int reload(void)
/*! \brief Return the first entry from ast_sockaddr_resolve filtered by address family
*
- * \warn Using this function probably means you have a faulty design.
+ * \warning Using this function probably means you have a faulty design.
*/
static int ast_sockaddr_resolve_first_af(struct ast_sockaddr *addr,
const char* name, int flag, int family)
@@ -32284,7 +32290,7 @@ static int ast_sockaddr_resolve_first_af(struct ast_sockaddr *addr,
/*! \brief Return the first entry from ast_sockaddr_resolve filtered by family of binddaddr
*
- * \warn Using this function probably means you have a faulty design.
+ * \warning Using this function probably means you have a faulty design.
*/
static int ast_sockaddr_resolve_first(struct ast_sockaddr *addr,
const char* name, int flag)
@@ -32294,7 +32300,7 @@ static int ast_sockaddr_resolve_first(struct ast_sockaddr *addr,
/*! \brief Return the first entry from ast_sockaddr_resolve filtered by family of binddaddr
*
- * \warn Using this function probably means you have a faulty design.
+ * \warning Using this function probably means you have a faulty design.
*/
static int ast_sockaddr_resolve_first_transport(struct ast_sockaddr *addr,
const char* name, int flag, unsigned int transport)
diff --git a/channels/sig_pri.h b/channels/sig_pri.h
index 80f22c9a6..4de9077e7 100644
--- a/channels/sig_pri.h
+++ b/channels/sig_pri.h
@@ -592,7 +592,7 @@ struct sig_pri_span {
* AST_DEVICE_BUSY - All B channels are in use.
* AST_DEVICE_UNAVAILABLE - Span is in alarm.
* \note
- * Device name: \startverbatim DAHDI/I<span>/congestion. \endverbatim
+ * Device name: \verbatim DAHDI/I<span>/congestion. \endverbatim
*/
int congestion_devstate;
#if defined(THRESHOLD_DEVSTATE_PLACEHOLDER)
diff --git a/channels/sip/include/srtp.h b/channels/sip/include/srtp.h
index 95281922f..a4ded62ca 100644
--- a/channels/sip/include/srtp.h
+++ b/channels/sip/include/srtp.h
@@ -16,7 +16,7 @@
* at the top of the source tree.
*/
-/*! \file sip_srtp.h
+/*! \file srtp.h
*
* \brief SIP Secure RTP (SRTP)
*
diff --git a/channels/sip/srtp.c b/channels/sip/srtp.c
index 049bffc58..8b2718fc3 100644
--- a/channels/sip/srtp.c
+++ b/channels/sip/srtp.c
@@ -16,7 +16,7 @@
* at the top of the source tree.
*/
-/*! \file sip_srtp.c
+/*! \file srtp.c
*
* \brief SIP Secure RTP (SRTP)
*