summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/S5BProxyRequest.h')
-rw-r--r--Swiften/Elements/S5BProxyRequest.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/Swiften/Elements/S5BProxyRequest.h b/Swiften/Elements/S5BProxyRequest.h
index fcd0cb2..b7541fc 100644
--- a/Swiften/Elements/S5BProxyRequest.h
+++ b/Swiften/Elements/S5BProxyRequest.h
@@ -1,12 +1,18 @@
/*
* Copyright (c) 2011 Tobias Markmann
* Licensed under the simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
+/*
+ * Copyright (c) 2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+
#pragma once
#include <string>
#include <boost/optional.hpp>
@@ -19,13 +25,14 @@ namespace Swift {
class S5BProxyRequest : public Payload {
public:
typedef boost::shared_ptr<S5BProxyRequest> ref;
public:
struct StreamHost {
- HostAddressPort addressPort;
+ std::string host;
+ int port;
JID jid;
};
public:
const boost::optional<StreamHost>& getStreamHost() const {
return streamHost;