Q3270
A Qt-based 3270 Terminal Emulator
Loading...
Searching...
No Matches
HostAddressUtils.h
1/*
2 * Q3270 Terminal Emulator
3 *
4 * Copyright (c) 2020–2025 Andy Styles
5 * SPDX-License-Identifier: BSD-3-Clause
6 *
7 * This file is part of Q3270.
8 * See the LICENSE file in the project root for full license information.
9 */
10
11#ifndef HOSTADDRESSUTILS_H
12#define HOSTADDRESSUTILS_H
13
14#include <QString>
15
16namespace HostAddressUtils
17{
18 QString format(const QString &hostName, int hostPort, const QString &hostLU);
19 void parse(const QString &address, QString &hostName, int &hostPort, QString &hostLU);
20}
21
22#endif // HOSTADDRESSUTILS_H