summaryrefslogtreecommitdiff
path: root/anyrtpproxy/options.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-03-08 19:01:52 +0000
committerOthmar Gsenger <otti@anytun.org>2008-03-08 19:01:52 +0000
commitb83f4bc9e7c6aab20dfdff69fdbcbb2681646791 (patch)
tree81c7ca3136919cdc4bc39116dfd8a8d24ff3c4ae /anyrtpproxy/options.h
parentadded SyncRtpCommand (diff)
anyrtpproxy sync test
Diffstat (limited to 'anyrtpproxy/options.h')
-rw-r--r--anyrtpproxy/options.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/anyrtpproxy/options.h b/anyrtpproxy/options.h
index c75da6a..25004a4 100644
--- a/anyrtpproxy/options.h
+++ b/anyrtpproxy/options.h
@@ -35,6 +35,14 @@
#include <list>
#include <sstream>
+typedef struct OptionConnectTo
+{
+ std::string host;
+ uint16_t port;
+};
+
+typedef std::list<OptionConnectTo> ConnectToList;
+
class Host
{
public:
@@ -84,7 +92,7 @@ private:
bool sanityCheck();
static Options* inst;
- static Mutex instMutex;
+ static ::Mutex instMutex;
class instanceCleaner {
public: ~instanceCleaner() {
if(Options::inst != 0)
@@ -93,7 +101,7 @@ private:
};
friend class instanceCleaner;
- Mutex mutex;
+ ::Mutex mutex;
std::string progname_;
bool chroot_;