summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorDavid M. Lee <dlee@digium.com>2013-05-07 18:30:55 +0000
committerDavid M. Lee <dlee@digium.com>2013-05-07 18:30:55 +0000
commitdd87bea808a04e7a42f72515c32b29d6c9f2b7ea (patch)
tree69ec9f9d985aa6de60fac61c2b3664f51255c38a /main
parent737a45f2f72185ea48e8f1e3d95e93ebc7cdfd50 (diff)
Minor fixups to Doxygen comments.
The \example tags marks an entire file as an example, not a code snippet. ........ Merged revisions 387823 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@387824 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r--main/manager.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/main/manager.c b/main/manager.c
index 9e500e8de..3994433db 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -4726,7 +4726,7 @@ static int blackfilter_cmp_fn(void *obj, void *arg, void *data, int flags)
return 0;
}
-/*
+/*!
* \brief Manager command to add an event filter to a manager session
* \see For more details look at manager_add_filter
*/
@@ -4760,10 +4760,9 @@ static int action_filter(struct mansession *s, const struct message *m)
return 0;
}
-/*
+/*!
* \brief Add an event filter to a manager session
*
- * \param s manager session to modify filters on
* \param filter_pattern Filter syntax to add, see below for syntax
*
* \return FILTER_ALLOC_FAILED Memory allocation failure
@@ -4774,9 +4773,12 @@ static int action_filter(struct mansession *s, const struct message *m)
* Filter can be any valid regular expression
* Filter can be a valid regular expression prefixed with !, which will add the filter as a black filter
*
- * \example filter_pattern = "Event: Newchannel"
- * \example filter_pattern = "Event: New.*"
- * \example filter_pattern = "!Channel: DAHDI.*"
+ * Examples:
+ * \code
+ * filter_pattern = "Event: Newchannel"
+ * filter_pattern = "Event: New.*"
+ * filter_pattern = "!Channel: DAHDI.*"
+ * \endcode
*
*/
static enum add_filter_result manager_add_filter(const char *filter_pattern, struct ao2_container *whitefilters, struct ao2_container *blackfilters) {