Merge "stasis: Reduce calculation of stasis message type hash." into 16

This commit is contained in:
Joshua Colp
2018-08-08 05:52:47 -05:00
committed by Gerrit Code Review
3 changed files with 17 additions and 1 deletions

View File

@@ -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
*