diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-03-22 19:09:12 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-03-22 19:09:12 +0000 |
commit | d2d06ed9d22b62132f04a8cf0b1dd4567d2ae6ab (patch) | |
tree | 7cbb1a7885363c722ad4f0fdace915ed743fe168 /include | |
parent | 05193ef00862f0c14dcdc4954eaed89f49a10098 (diff) |
Fix manager declarations
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5227 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/manager.h | 12 |
1 files changed, 6 insertions, 6 deletions
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: |