summaryrefslogtreecommitdiffstats
path: root/dnsdist-console.hh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 21:14:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 21:14:48 +0000
commite10ff189aca57bba91933088195d4edda199cb20 (patch)
tree056237559582eba27e68fa864434436ac5b7f535 /dnsdist-console.hh
parentAdding upstream version 1.8.3. (diff)
downloaddnsdist-e10ff189aca57bba91933088195d4edda199cb20.tar.xz
dnsdist-e10ff189aca57bba91933088195d4edda199cb20.zip
Adding upstream version 1.9.3.upstream/1.9.3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dnsdist-console.hh')
-rw-r--r--dnsdist-console.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/dnsdist-console.hh b/dnsdist-console.hh
index 1ef046c..6e227d4 100644
--- a/dnsdist-console.hh
+++ b/dnsdist-console.hh
@@ -22,6 +22,7 @@
#pragma once
#include "config.h"
+#include "sstuff.hh"
#ifndef DISABLE_COMPLETION
struct ConsoleKeyword {
@@ -55,7 +56,7 @@ extern uint32_t g_consoleOutputMsgMaxSize;
void doClient(ComboAddress server, const std::string& command);
void doConsole();
-void controlThread(int fd, ComboAddress local);
+void controlThread(std::shared_ptr<Socket> acceptFD, ComboAddress local);
void clearConsoleHistory();
void setConsoleMaximumConcurrentConnections(size_t max);