mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
moving ast_devstate_to_extenstate to pbx.c from devicestate.c
ast_devstate_to_extenstate belongs in pbx.c. This change fixes a compile time error with chan_vpb as well. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@205409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -151,15 +151,6 @@ void ast_devstate_aggregate_add(struct ast_devstate_aggregate *agg, enum ast_dev
|
||||
*/
|
||||
enum ast_device_state ast_devstate_aggregate_result(struct ast_devstate_aggregate *agg);
|
||||
|
||||
/*!
|
||||
* \brief Map devstate to an extension state.
|
||||
*
|
||||
* \param[in] device state
|
||||
*
|
||||
* \return the extension state mapping.
|
||||
*/
|
||||
enum ast_extension_states ast_devstate_to_extenstate(enum ast_device_state devstate);
|
||||
|
||||
/*!
|
||||
* \brief You shouldn't care about the contents of this struct
|
||||
*
|
||||
|
@@ -273,6 +273,14 @@ int ast_add_extension2(struct ast_context *con, int replace, const char *extensi
|
||||
int priority, const char *label, const char *callerid,
|
||||
const char *application, void *data, void (*datad)(void *), const char *registrar);
|
||||
|
||||
/*!
|
||||
* \brief Map devstate to an extension state.
|
||||
*
|
||||
* \param[in] device state
|
||||
*
|
||||
* \return the extension state mapping.
|
||||
*/
|
||||
enum ast_extension_states ast_devstate_to_extenstate(enum ast_device_state devstate);
|
||||
|
||||
/*!
|
||||
* \brief Register an application.
|
||||
|
Reference in New Issue
Block a user