summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2006-04-04 10:57:31 +0000
committerLuigi Rizzo <rizzo@icir.org>2006-04-04 10:57:31 +0000
commitec67c650adeb3437700c3ba547364530e6c7d090 (patch)
tree8731bb3228a21af4a6fbab95754816b673300d51 /include
parent95de51526a5987a61d4e7383c2a179d2cdf29001 (diff)
some fields are const
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17226 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/pbx.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h
index deaa578bf..e65bc71a0 100644
--- a/include/asterisk/pbx.h
+++ b/include/asterisk/pbx.h
@@ -73,10 +73,10 @@ typedef int (*ast_state_cb_type)(char *context, char* id, enum ast_extension_sta
/*! 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;