[asterisk-commits] trunk r17226 - /trunk/include/asterisk/pbx.h
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Apr 4 03:57:33 MST 2006
Author: rizzo
Date: Tue Apr 4 05:57:31 2006
New Revision: 17226
URL: http://svn.digium.com/view/asterisk?rev=17226&view=rev
Log:
some fields are const
Modified:
trunk/include/asterisk/pbx.h
Modified: trunk/include/asterisk/pbx.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/pbx.h?rev=17226&r1=17225&r2=17226&view=diff
==============================================================================
--- trunk/include/asterisk/pbx.h (original)
+++ trunk/include/asterisk/pbx.h Tue Apr 4 05:57:31 2006
@@ -73,10 +73,10 @@
/*! Data structure associated with a custom function */
struct ast_custom_function {
- char *name;
- char *synopsis;
- char *desc;
- char *syntax;
+ const char *name;
+ const char *synopsis;
+ const char *desc;
+ const char *syntax;
int (*read)(struct ast_channel *, char *, char *, char *, size_t);
int (*write)(struct ast_channel *, char *, char *, const char *);
struct ast_custom_function *next;
More information about the asterisk-commits
mailing list