Skip to content

Commit bd707db

Browse files
committed
Merge branch 'standalone-asio' of https://github.com/deanberris/cpp-netlib into deanberris-standalone-asio
2 parents 1fae5c5 + d4a4256 commit bd707db

30 files changed

+2231
-0
lines changed

.gitmodules

+4
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@
1010
[submodule "deps/igloo"]
1111
path = deps/igloo
1212
url = git://github.com/joakimkarlsson/igloo.git
13+
[submodule "deps/asio"]
14+
path = deps/asio
15+
url = git://github.com/cpp-netlib/asio
16+
branch = cmake-build

boost/network/auth/md5.hpp

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Copyright (c) Glyn Matthews 2010.
2+
// Distributed under the Boost Software License, Version 1.0.
3+
// (See accompanying file LICENSE_1_0.txt or copy at
4+
// http://www.boost.org/LICENSE_1_0.txt)
5+
6+
7+
#ifndef __BOOST_NETWORK_AUTH_MD5_INC__
8+
# define __BOOST_NETWORK_AUTH_MD5_INC__
9+
10+
11+
namespace boost {
12+
namespace network {
13+
namespace auth {
14+
15+
} // namespace auth
16+
} // namespace network
17+
} // namespace boost
18+
19+
20+
#endif // __BOOST_NETWORK_AUTH_MD5_INC__

boost/network/auth/sasl.hpp

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
// Copyright (c) Glyn Matthews 2010.
2+
// Distributed under the Boost Software License, Version 1.0.
3+
// (See accompanying file LICENSE_1_0.txt or copy at
4+
// http://www.boost.org/LICENSE_1_0.txt)
5+
6+
7+
#ifndef __BOOST_NETWORK_AUTH_SASL_INC__
8+
# define __BOOST_NETWORK_AUTH_SASL_INC__
9+
10+
11+
# include <boost/network/traits/string.hpp>
12+
13+
14+
namespace boost {
15+
namespace network {
16+
namespace auth {
17+
template <
18+
class Tag
19+
>
20+
class basic_sasl {
21+
22+
// struct anonymous {};
23+
// struct plain {};
24+
// struct digest_md5 {};
25+
26+
public:
27+
28+
typedef typename string<Tag>::type string_type;
29+
30+
// explicit basic_sasl(anonymous);
31+
//
32+
// explicit basic_sasl(plain,
33+
// const string_type &id, const string_type &password);
34+
//
35+
// explicit basic_sasl(digest_md5,
36+
// const string_type &challenge,const string_type &jid, const string_type &password);
37+
38+
private:
39+
40+
string_type auth_string_;
41+
42+
};
43+
} // namespace auth
44+
} // namespace network
45+
} // namespace boost
46+
47+
48+
#endif // __BOOST_NETWORK_AUTH_SASL_INC__

boost/network/protocol/xmpp.hpp

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// Copyright (c) Glyn Matthews 2010.
2+
// Distributed under the Boost Software License, Version 1.0.
3+
// (See accompanying file LICENSE_1_0.txt or copy at
4+
// http://www.boost.org/LICENSE_1_0.txt)
5+
6+
7+
#ifndef __BOOST_NETWORK_PROTOCOL_XMPP_INC__
8+
# define __BOOST_NETWORK_PROTOCOL_XMPP_INC__
9+
10+
11+
# include <boost/network/protocol/xmpp/client.hpp>
12+
# include <boost/network/protocol/xmpp/detail
13+
# include <boost/network/protocol/xmpp/error.hpp>
14+
# include <boost/network/protocol/xmpp/iq.hpp>
15+
# include <boost/network/protocol/xmpp/message.hpp>
16+
# include <boost/network/protocol/xmpp/namespaces.hpp>
17+
# include <boost/network/protocol/xmpp/presence.hpp>
18+
# include <boost/network/protocol/xmpp/stanza.hpp>
19+
20+
21+
#endif // __BOOST_NETWORK_PROTOCOL_XMPP_INC__

0 commit comments

Comments
 (0)