Skip to content

Commit d414e35

Browse files
committed
Updated XML wrappers.
1 parent e1d87f4 commit d414e35

File tree

21 files changed

+142
-619
lines changed

21 files changed

+142
-619
lines changed

boost/network/tls/tls.hpp renamed to boost/network/auth/md5.hpp

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,17 @@
44
// http://www.boost.org/LICENSE_1_0.txt)
55

66

7-
#ifndef __BOOST_NETWORK_TLS_TLS_INC__
8-
# define __BOOST_NETWORK_TLS_TLS_INC__
7+
#ifndef __BOOST_NETWORK_AUTH_MD5_INC__
8+
# define __BOOST_NETWORK_AUTH_MD5_INC__
99

1010

1111
namespace boost {
1212
namespace network {
13-
class tls {
14-
public:
13+
namespace auth {
1514

16-
// credentials
17-
// start
18-
// read
19-
// write
20-
21-
};
15+
} // namespace auth
2216
} // namespace network
2317
} // namespace boost
2418

2519

26-
#endif // __BOOST_NETWORK_TLS_TLS_INC__
20+
#endif // __BOOST_NETWORK_AUTH_MD5_INC__

boost/network/auth/sasl.hpp

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,25 @@ template <
1919
>
2020
class basic_sasl {
2121

22-
struct anonymous {};
23-
struct plain {};
24-
struct digest_md5 {};
22+
// struct anonymous {};
23+
// struct plain {};
24+
// struct digest_md5 {};
2525

2626
public:
2727

28-
explicit basic_sasl(anonymous);
28+
typedef typename string<Tag>::type string_type;
2929

30-
explicit basic_sasl(plain);
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);
3137

32-
explicit basic_sasl(digest_md5);
38+
private:
39+
40+
string_type auth_string_;
3341

3442
};
3543
} // namespace auth

boost/network/detail/xml_wrappers/parser_backends/expat/element_parser.hpp

Lines changed: 0 additions & 126 deletions
This file was deleted.

boost/network/detail/xml_wrappers/parser_backends/expat/stanza_parser.hpp

Lines changed: 0 additions & 124 deletions
This file was deleted.

0 commit comments

Comments
 (0)