[asterisk-commits] dlee: branch dlee/stasis-cache-split r395719 - /team/dlee/stasis-cache-split/...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Jul 29 17:31:11 CDT 2013
Author: dlee
Date: Mon Jul 29 17:31:09 2013
New Revision: 395719
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=395719
Log:
Addressed review feedback.
* Comment fixes
Modified:
team/dlee/stasis-cache-split/include/asterisk/stasis_cache_pattern.h
team/dlee/stasis-cache-split/include/asterisk/stasis_endpoints.h
Modified: team/dlee/stasis-cache-split/include/asterisk/stasis_cache_pattern.h
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-cache-split/include/asterisk/stasis_cache_pattern.h?view=diff&rev=395719&r1=395718&r2=395719
==============================================================================
--- team/dlee/stasis-cache-split/include/asterisk/stasis_cache_pattern.h (original)
+++ team/dlee/stasis-cache-split/include/asterisk/stasis_cache_pattern.h Mon Jul 29 17:31:09 2013
@@ -24,7 +24,7 @@
* \brief Caching pattern for \ref stasis topics.
*
* A typical pattern for Stasis objects is to have individual objects, which
- * have their own topic and caching topic. These individual topics feed a
+ * have their own topic and caching topic. These individual topics feed an
* upstream aggregate topics, and a shared cache.
*
* The \ref stasis_cp_all object contains the aggregate topics and shared cache.
@@ -128,6 +128,9 @@
/*!
* \brief Get the topic for this instance.
*
+ * This is the topic to which one would post instance-specific messages, or
+ * subscribe for single-instance, uncached messages.
+ *
* \param one One side of the cache pattern.
* \return The main topic.
* \return \c NULL if \a one is \c NULL
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=395719&r1=395718&r2=395719
==============================================================================
--- team/dlee/stasis-cache-split/include/asterisk/stasis_endpoints.h (original)
+++ team/dlee/stasis-cache-split/include/asterisk/stasis_endpoints.h Mon Jul 29 17:31:09 2013
@@ -160,6 +160,11 @@
/*!
* \internal
* \brief Cache and global topics for endpoints.
+ *
+ * This is public simply to be used by endpoints.c. Please use the accessor
+ * functions (ast_endpoint_topic_all(), ast_endpoint_topic_all_cached(),
+ * ast_endpoint_cache(), etc.) instead of calling this directly.
+ *
* \since 12
*/
struct stasis_cp_all *ast_endpoint_cache_all(void);
More information about the asterisk-commits
mailing list