[svn-commits] dlee: branch dlee/stasis-cache-split r393849 - /team/dlee/stasis-cache-split/...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Jul 8 16:11:50 CDT 2013


Author: dlee
Date: Mon Jul  8 16:11:48 2013
New Revision: 393849

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=393849
Log:
More ripples through the API.

Modified:
    team/dlee/stasis-cache-split/include/asterisk/app.h
    team/dlee/stasis-cache-split/include/asterisk/devicestate.h
    team/dlee/stasis-cache-split/include/asterisk/presencestate.h
    team/dlee/stasis-cache-split/include/asterisk/stasis_bridging.h
    team/dlee/stasis-cache-split/include/asterisk/stasis_endpoints.h

Modified: team/dlee/stasis-cache-split/include/asterisk/app.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-cache-split/include/asterisk/app.h?view=diff&rev=393849&r1=393848&r2=393849
==============================================================================
--- team/dlee/stasis-cache-split/include/asterisk/app.h (original)
+++ team/dlee/stasis-cache-split/include/asterisk/app.h Mon Jul  8 16:11:48 2013
@@ -1251,7 +1251,14 @@
  * \retval NULL if it has not been allocated
  * \since 12
  */
-struct stasis_caching_topic *ast_mwi_topic_cached(void);
+struct stasis_topic *ast_mwi_topic_cached(void);
+
+/*!
+ * \brief The backend cache for ast_mwi_topic_cached().
+ * \retval Cache for \ref ast_mwi_state and \ref stasis_subscription_change.
+ * \since 12
+ */
+struct stasis_cache *ast_mwi_state_cache(void);
 
 /*!
  * \brief Get the \ref stasis message type for MWI messages

Modified: team/dlee/stasis-cache-split/include/asterisk/devicestate.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-cache-split/include/asterisk/devicestate.h?view=diff&rev=393849&r1=393848&r2=393849
==============================================================================
--- team/dlee/stasis-cache-split/include/asterisk/devicestate.h (original)
+++ team/dlee/stasis-cache-split/include/asterisk/devicestate.h Mon Jul  8 16:11:48 2013
@@ -307,7 +307,14 @@
  * \retval NULL if it has not been allocated
  * \since 12
  */
-struct stasis_caching_topic *ast_device_state_topic_cached(void);
+struct stasis_topic *ast_device_state_topic_cached(void);
+
+/*!
+ * \brief Backend cache for ast_device_state_topic_cached().
+ * \retval Cache for \ref ast_device_state_message.
+ * \since 12
+ */
+struct stasis_cache *ast_device_state_cache(void);
 
 /*!
  * \brief Get the Stasis message type for device state messages

Modified: team/dlee/stasis-cache-split/include/asterisk/presencestate.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-cache-split/include/asterisk/presencestate.h?view=diff&rev=393849&r1=393848&r2=393849
==============================================================================
--- team/dlee/stasis-cache-split/include/asterisk/presencestate.h (original)
+++ team/dlee/stasis-cache-split/include/asterisk/presencestate.h Mon Jul  8 16:11:48 2013
@@ -168,7 +168,14 @@
  * \retval Caching Stasis topic for presence state messages
  * \since 12
  */
-struct stasis_caching_topic *ast_presence_state_topic_cached(void);
+struct stasis_topic *ast_presence_state_topic_cached(void);
+
+/*!
+ * \brief Backend cache for ast_presence_state_topic_cached().
+ * \retval Cache of \ref ast_presence_state_message.
+ * \since 12
+ */
+struct stasis_cache *ast_presence_state_cache(void);
 
 /*!
  * \brief Stasis message payload representing a presence state update

Modified: team/dlee/stasis-cache-split/include/asterisk/stasis_bridging.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-cache-split/include/asterisk/stasis_bridging.h?view=diff&rev=393849&r1=393848&r2=393849
==============================================================================
--- team/dlee/stasis-cache-split/include/asterisk/stasis_bridging.h (original)
+++ team/dlee/stasis-cache-split/include/asterisk/stasis_bridging.h Mon Jul  8 16:11:48 2013
@@ -103,7 +103,14 @@
  *
  * \retval Caching topic for all bridge events.
  */
-struct stasis_caching_topic *ast_bridge_topic_all_cached(void);
+struct stasis_topic *ast_bridge_topic_all_cached(void);
+
+/*!
+ * \since 12
+ * \brief Cache backend for ast_bridge_topic_all_cached().
+ * \retval Cache for \ref ast_bridge_snapshot
+ */
+struct stasis_cache *ast_bridge_cache(void);
 
 /*!
  * \since 12

Modified: team/dlee/stasis-cache-split/include/asterisk/stasis_endpoints.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-cache-split/include/asterisk/stasis_endpoints.h?view=diff&rev=393849&r1=393848&r2=393849
==============================================================================
--- team/dlee/stasis-cache-split/include/asterisk/stasis_endpoints.h (original)
+++ team/dlee/stasis-cache-split/include/asterisk/stasis_endpoints.h Mon Jul  8 16:11:48 2013
@@ -153,7 +153,14 @@
  * \brief Cached topic for all endpoint related messages.
  * \since 12
  */
-struct stasis_caching_topic *ast_endpoint_topic_all_cached(void);
+struct stasis_topic *ast_endpoint_topic_all_cached(void);
+
+/*!
+ * \brief Backend cache for ast_endpoint_topic_all_cached().
+ * \return Cache of \ref ast_endpoint_snapshot.
+ * \since 12
+ */
+struct stasis_cache *ast_endpoint_cache(void);
 
 /*!
  * \brief Retrieve the most recent snapshot for the endpoint with the given




More information about the svn-commits mailing list