diff options
author | Russell Bryant <russell@russellbryant.com> | 2005-11-14 19:00:38 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2005-11-14 19:00:38 +0000 |
commit | d8dfa4434d9f121ad5c42cf3b298ccfba00c26f7 (patch) | |
tree | c0da0f5c97cbf944a9fde44422f7fa067a575f93 /manager.c | |
parent | 0702130ed15957ea585f93424bd64b3665f89b61 (diff) |
finish merging doxygen updates from issue #5605
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'manager.c')
-rwxr-xr-x | manager.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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; |