blob: 325ef06882d712dbc03a92521b37a43ee3438b4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/*
* Copyright (c) 2012 Isode Limited.
* All rights reserved.
* See the COPYING file 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);
}
|