Allow hints to have names (bug #3471)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-02-01 01:53:25 +00:00
parent 1be7bf0881
commit 6ed8f15260
6 changed files with 48 additions and 10 deletions

View File

@@ -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 */