From 992d4b4b8d3f3a630a2cf00d593ee4ce4dfa7ce8 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Thu, 9 Jan 2025 22:12:06 +0100 Subject: New upstream version 2.7.0~rc8+repack --- Network/NetworkServerLookup.hpp | 76 ++++++++++++++++++++--------------------- 1 file changed, 38 insertions(+), 38 deletions(-) (limited to 'Network/NetworkServerLookup.hpp') diff --git a/Network/NetworkServerLookup.hpp b/Network/NetworkServerLookup.hpp index b3a105d5..7c7c9d11 100755 --- a/Network/NetworkServerLookup.hpp +++ b/Network/NetworkServerLookup.hpp @@ -1,38 +1,38 @@ -#ifndef NETWORK_SERVER_LOOKUP_HPP__ -#define NETWORK_SERVER_LOOKUP_HPP__ - -#include - -#include -#include - -class QString; - -// -// Do a blocking DNS lookup using query as a destination host address -// and port. -// -// query can be one of: -// -// 1) "" (empty string) - use defaults -// 2) ":nnnnn" - override default service port with port nnnnn -// 3) "" - override default host address with DNS lookup -// 4) "nnn.nnn.nnn.nnn" - override default host address with the IPv4 address given by nnn.nnn.nnn.nnn -// 5) "[:nnnnn" - use as per (3) & (2) -// 7) "nnn.nnn.nnn.nnn:nnnnn" - use as per (4) & (2) -// 8) "[ -network_server_lookup (QString query - , quint16 default_service_port - , QHostAddress default_host_address = QHostAddress::LocalHost - , QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); - -#endif +#ifndef NETWORK_SERVER_LOOKUP_HPP__ +#define NETWORK_SERVER_LOOKUP_HPP__ + +#include + +#include +#include + +class QString; + +// +// Do a blocking DNS lookup using query as a destination host address +// and port. +// +// query can be one of: +// +// 1) "" (empty string) - use defaults +// 2) ":nnnnn" - override default service port with port nnnnn +// 3) "" - override default host address with DNS lookup +// 4) "nnn.nnn.nnn.nnn" - override default host address with the IPv4 address given by nnn.nnn.nnn.nnn +// 5) "[:nnnnn" - use as per (3) & (2) +// 7) "nnn.nnn.nnn.nnn:nnnnn" - use as per (4) & (2) +// 8) "[ +network_server_lookup (QString query + , quint16 default_service_port + , QHostAddress default_host_address = QHostAddress::LocalHost + , QAbstractSocket::NetworkLayerProtocol protocol = QAbstractSocket::AnyIPProtocol); + +#endif -- cgit v1.2.3