aboutsummaryrefslogtreecommitdiffstats
path: root/manager.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-14 19:00:38 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-14 19:00:38 +0000
commit8acbf04043137e3a3c1af2b8f1d3ba7fd6614500 (patch)
treec0da0f5c97cbf944a9fde44422f7fa067a575f93 /manager.c
parent2e1332e69c7af3119ec6628d9107600156839c70 (diff)
finish merging doxygen updates from issue #5605
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7096 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'manager.c')
-rwxr-xr-xmanager.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/manager.c b/manager.c
index c4bfcec35..1be1a38dc 100755
--- a/manager.c
+++ b/manager.c
@@ -25,6 +25,11 @@
* \ref amiconf
*/
+/*! \addtogroup Group_AMI AMI functions
+*/
+/*! @{
+ Doxygen group */
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -569,6 +574,7 @@ static int authenticate(struct mansession *s, struct message *m)
return -1;
}
+/*! \brief PING: Manager PING */
static char mandescr_ping[] =
"Description: A 'Ping' action will ellicit a 'Pong' response. Used to keep the "
" manager connection open.\n"
@@ -1084,6 +1090,8 @@ static int action_originate(struct mansession *s, struct message *m)
return 0;
}
+/*! \brief Help text for manager command mailboxstatus
+ */
static char mandescr_mailboxstatus[] =
"Description: Checks a voicemail account for status.\n"
"Variables: (Names marked with * are required)\n"
@@ -1094,6 +1102,7 @@ static char mandescr_mailboxstatus[] =
" Mailbox: <mailboxid>\n"
" Waiting: <count>\n"
"\n";
+
static int action_mailboxstatus(struct mansession *s, struct message *m)
{
char *mailbox = astman_get_header(m, "Mailbox");
@@ -1599,6 +1608,8 @@ static int ast_manager_register_struct(struct manager_action *act)
return 0;
}
+/*! \brief register a new command with manager, including online help. This is
+ the preferred way to register a manager command */
int ast_manager_register2(const char *action, int auth, int (*func)(struct mansession *s, struct message *m), const char *synopsis, const char *description)
{
struct manager_action *cur;
@@ -1620,6 +1631,8 @@ int ast_manager_register2(const char *action, int auth, int (*func)(struct manse
return 0;
}
+/*! @}
+ END Doxygen group */
static int registered = 0;