summaryrefslogtreecommitdiffstats
blob: d6ef439f5e691ee246f2abf367b943d42317539e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (c) 2012-2016 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */
#pragma once

#include <string>

#include <boost/variant.hpp>

#include <Swiften/Network/HostAddress.h>

namespace Swift {
	typedef boost::variant<std::string, HostAddress> HostNameOrAddress;

	std::string toString(const HostNameOrAddress& address);
}