diff options
Diffstat (limited to 'include/asterisk/stasis.h')
-rw-r--r-- | include/asterisk/stasis.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/asterisk/stasis.h b/include/asterisk/stasis.h index 07c3c5c6b..48d51e369 100644 --- a/include/asterisk/stasis.h +++ b/include/asterisk/stasis.h @@ -431,6 +431,22 @@ struct stasis_cache_update { }; /*! + * \brief Cache clear message. + */ +struct stasis_cache_clear { + /*! Type of object being cleared from the cache */ + struct stasis_message_type *type; + /*! Id of the object being cleared from the cache */ + char id[]; +}; + +/*! + * \brief Message type for \ref stasis_cache_clear. + * \since 12 + */ +struct stasis_message_type *stasis_cache_clear_type(void); + +/*! * \brief A message which instructs the caching topic to remove an entry from its cache. * \param type Message type. * \param id Unique id of the snapshot to clear. |