mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Change ast_set_state_callback() to ast_dial_set_state_callback()
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@54103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -142,7 +142,7 @@ int ast_dial_option_disable(struct ast_dial *dial, int num, enum ast_dial_option
|
|||||||
* \param callback the callback
|
* \param callback the callback
|
||||||
* \return nothing
|
* \return nothing
|
||||||
*/
|
*/
|
||||||
void ast_set_state_callback(struct ast_dial *dial, ast_dial_state_callback callback);
|
void ast_dial_set_state_callback(struct ast_dial *dial, ast_dial_state_callback callback);
|
||||||
|
|
||||||
#if defined(__cplusplus) || defined(c_plusplus)
|
#if defined(__cplusplus) || defined(c_plusplus)
|
||||||
}
|
}
|
||||||
|
@@ -818,7 +818,7 @@ int ast_dial_option_disable(struct ast_dial *dial, int num, enum ast_dial_option
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ast_set_state_callback(struct ast_dial *dial, ast_dial_state_callback callback)
|
void ast_dial_set_state_callback(struct ast_dial *dial, ast_dial_state_callback callback)
|
||||||
{
|
{
|
||||||
dial->state_callback = callback;
|
dial->state_callback = callback;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user