From b83f4bc9e7c6aab20dfdff69fdbcbb2681646791 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Sat, 8 Mar 2008 19:01:52 +0000 Subject: anyrtpproxy sync test --- anyrtpproxy/options.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'anyrtpproxy/options.h') 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 #include +typedef struct OptionConnectTo +{ + std::string host; + uint16_t port; +}; + +typedef std::list 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_; -- cgit v1.2.3