diff options
author | Richard Mudgett <rmudgett@digium.com> | 2011-07-15 00:23:14 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2011-07-15 00:23:14 +0000 |
commit | 145c1745659d3f32fb296a7e287be196307c0af4 (patch) | |
tree | d136d998abf9581ecf8b91937fd9361274ca463b /include | |
parent | 4a7726b605e8a68ad76941295804d3cefdb52522 (diff) |
Merged revisions 328329 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.10
........
r328329 | rmudgett | 2011-07-14 19:19:32 -0500 (Thu, 14 Jul 2011) | 2 lines
Make hint watcher callback take const strings for context and exten parameters.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@328344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/extconf.h | 2 | ||||
-rw-r--r-- | include/asterisk/pbx.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/extconf.h b/include/asterisk/extconf.h index a5d36ad23..1a04b01bf 100644 --- a/include/asterisk/extconf.h +++ b/include/asterisk/extconf.h @@ -111,7 +111,7 @@ struct ast_exten { char stuff[0]; }; /* from pbx.h */ -typedef int (*ast_state_cb_type)(char *context, char* id, enum ast_extension_states state, void *data); +typedef int (*ast_state_cb_type)(const char *context, const char *exten, enum ast_extension_states state, void *data); struct ast_timing { int hastime; /*!< If time construct exists */ unsigned int monthmask; /*!< Mask for month */ diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h index 1489ee2d6..36bc0724c 100644 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -76,7 +76,7 @@ struct ast_ignorepat; struct ast_sw; /*! \brief Typedef for devicestate and hint callbacks */ -typedef int (*ast_state_cb_type)(char *context, char* id, enum ast_extension_states state, void *data); +typedef int (*ast_state_cb_type)(const char *context, const char *exten, enum ast_extension_states state, void *data); /*! \brief Data structure associated with a custom dialplan function */ struct ast_custom_function { |