diff options
author | Christian Pointner <equinox@anytun.org> | 2008-03-14 19:33:40 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-03-14 19:33:40 +0000 |
commit | 8efe1bd45ddab5e60c756c9c11506dfe469e8563 (patch) | |
tree | cfb528473cecfda49edadcead130eae46cfce930 /rtpSessionTable.cpp | |
parent | dirty rtp port hack (diff) |
first working version
Diffstat (limited to 'rtpSessionTable.cpp')
-rw-r--r-- | rtpSessionTable.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/rtpSessionTable.cpp b/rtpSessionTable.cpp index 1556752..8b361a4 100644 --- a/rtpSessionTable.cpp +++ b/rtpSessionTable.cpp @@ -107,6 +107,16 @@ RtpSession& RtpSessionTable::getSession(const std::string & call_id) throw std::runtime_error("session not found"); } +RtpSessionMap::iterator RtpSessionTable::getBeginUnlocked() +{ + return map_.begin(); +} + +RtpSessionMap::iterator RtpSessionTable::getEndUnlocked() +{ + return map_.end(); +} + void RtpSessionTable::clear() { Lock lock(mutex_); |