From 6e420b3c386a11b30d4f556ea897fe19252bb39b Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Tue, 22 Mar 2005 19:09:12 +0000 Subject: Fix manager declarations git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5227 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/manager.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/asterisk/manager.h b/include/asterisk/manager.h index 6629e72c9..2c33d54f0 100755 --- a/include/asterisk/manager.h +++ b/include/asterisk/manager.h @@ -92,11 +92,11 @@ struct message { struct manager_action { /*! Name of the action */ - char *action; + const char *action; /*! Short description of the action */ - char *synopsis; + const char *synopsis; /*! Detailed description of the action */ - char *description; + const char *description; /*! Permission required for action. EVENT_FLAG_* */ int authority; /*! Function to be called */ @@ -120,11 +120,11 @@ int ast_carefulwrite(int fd, char *s, int len, int timeoutms); \param description Help text, several lines */ int ast_manager_register2( - char *action, + const char *action, int authority, int (*func)(struct mansession *s, struct message *m), - char *synopsis, - char *description); + const char *synopsis, + const char *description); /*! Unregister a registred manager command */ /*! \param action Name of registred Action: -- cgit v1.2.3