diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-02-01 01:53:25 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-02-01 01:53:25 +0000 |
commit | d2d81ca374445d48290038fb3e15c42689115ec9 (patch) | |
tree | 8ba40ca8d9138e7c86afc4ac13996c33ee5cdb63 /include/asterisk | |
parent | bd8ff1abcbd05f49bcb0f015d3034ce3eff26b72 (diff) |
Allow hints to have names (bug #3471)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4938 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rwxr-xr-x | include/asterisk/pbx.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asterisk/pbx.h b/include/asterisk/pbx.h index 9607e8520..c45611fea 100755 --- a/include/asterisk/pbx.h +++ b/include/asterisk/pbx.h @@ -285,6 +285,8 @@ int ast_extension_state_del(int id, ast_state_cb_type callback); /*! * \param hint buffer for hint * \param maxlen size of hint buffer + * \param hint buffer for name portion of hint + * \param maxlen size of name buffer * \param c this is not important * \param context which context to look in * \param exten which extension to search for @@ -292,7 +294,7 @@ int ast_extension_state_del(int id, ast_state_cb_type callback); * is found a non zero value will be returned. * Otherwise, 0 is returned. */ -int ast_get_hint(char *hint, int maxlen, struct ast_channel *c, const char *context, const char *exten); +int ast_get_hint(char *hint, int maxlen, char *name, int maxnamelen, struct ast_channel *c, const char *context, const char *exten); /*! If an extension exists, return non-zero */ /* work */ |