Add message dump capability to stasis cache layer
authorKinsey Moore <kmoore@digium.com>
Fri, 8 Mar 2013 16:00:14 +0000 (16:00 +0000)
committerKinsey Moore <kmoore@digium.com>
Fri, 8 Mar 2013 16:00:14 +0000 (16:00 +0000)
commitc6b06e40dc859125cf76bec4632bd76de42256bd
treef99d321c8621ce9285389c058d70dfb71ffe3809
parent4edd8be35cdef3b212355c48b68319f2304bc9f2
Add message dump capability to stasis cache layer

The cache dump mechanism allows the developer to retreive multiple
items of a given type (or of all types) from the cache residing in a
stasis caching topic in addition to the existing single-item cache
retreival mechanism.  This also adds to the caching unit tests to
ensure that the new cache dump mechanism is functioning properly.

Review: https://reviewboard.asterisk.org/r/2367/
(issue ASTERISK-21097)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@382705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/stasis.h
main/stasis_cache.c
tests/test_stasis.c