diff options
Diffstat (limited to 'anyrtpproxy/options.h')
-rw-r--r-- | anyrtpproxy/options.h | 12 |
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_; |