mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 23:38:23 +00:00
Merge "pbx.h: Make ast_state_cb_type take more const."
This commit is contained in:
@@ -109,7 +109,7 @@ struct ast_state_cb_info {
|
||||
};
|
||||
|
||||
/*! \brief Typedef for devicestate and hint callbacks */
|
||||
typedef int (*ast_state_cb_type)(char *context, char *id, struct ast_state_cb_info *info, void *data);
|
||||
typedef int (*ast_state_cb_type)(const char *context, const char *exten, struct ast_state_cb_info *info, void *data);
|
||||
|
||||
/*! \brief Typedef for devicestate and hint callback removal indication callback */
|
||||
typedef void (*ast_state_cb_destroy_type)(int id, void *data);
|
||||
|
||||
Reference in New Issue
Block a user