diff options
Diffstat (limited to 'src/base/socket.hh')
-rw-r--r-- | src/base/socket.hh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/base/socket.hh b/src/base/socket.hh index 8e55eae72..942318e45 100644 --- a/src/base/socket.hh +++ b/src/base/socket.hh @@ -34,6 +34,14 @@ class ListenSocket { protected: + static bool listeningDisabled; + static bool anyListening; + + public: + static void disableAll(); + static bool allDisabled(); + + protected: bool listening; int fd; |