[Asterisk-cvs] asterisk/include/asterisk manager.h,1.12,1.13

markster at lists.digium.com markster at lists.digium.com
Tue Mar 22 13:14:39 CST 2005


Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv16817/include/asterisk

Modified Files:
	manager.h 
Log Message:
Fix manager declarations


Index: manager.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/manager.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- manager.h	2 Mar 2005 05:58:13 -0000	1.12
+++ manager.h	22 Mar 2005 19:09:12 -0000	1.13
@@ -92,11 +92,11 @@
 
 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 @@
 	\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:




More information about the svn-commits mailing list