Merge "pbx.h: Make ast_state_cb_type take more const."

This commit is contained in:
Joshua Colp
2016-04-08 15:47:50 -05:00
committed by Gerrit Code Review
7 changed files with 13 additions and 13 deletions

View File

@@ -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);