summaryrefslogtreecommitdiffstats
blob: f804d15b8f43ed17dfd7f38247f259b8bfa59ee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Copyright (c) 2012 Remko Tronçon
 * Licensed under the GNU General Public License v3.
 * See Documentation/Licenses/GPLv3.txt for more information.
 */
#pragma once

#include <string>
#include <Swiften/Network/HostAddress.h>
#include <boost/variant.hpp>

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

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