mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Merge "stasis: Reduce calculation of stasis message type hash." into 16
This commit is contained in:
@@ -318,6 +318,14 @@ enum stasis_message_type_result stasis_message_type_create(const char *name,
|
||||
*/
|
||||
const char *stasis_message_type_name(const struct stasis_message_type *type);
|
||||
|
||||
/*!
|
||||
* \brief Gets the hash of a given message type
|
||||
* \param type The type to get the hash of.
|
||||
* \return The hash
|
||||
* \since 13.24.0
|
||||
*/
|
||||
unsigned int stasis_message_type_hash(const struct stasis_message_type *type);
|
||||
|
||||
/*!
|
||||
* \brief Check whether a message type is declined
|
||||
*
|
||||
|
Reference in New Issue
Block a user