Provide C++ API. Move all classes to "nt" namespace.

The C API is now just simple wrappers around the C++ API.
This commit is contained in:
Peter Johnson
2015-07-17 07:21:07 -07:00
committed by Peter Johnson
parent 56f1481c24
commit fcbd2751ba
38 changed files with 880 additions and 439 deletions

View File

@@ -8,7 +8,7 @@
#ifndef NT_SEQNUM_H_
#define NT_SEQNUM_H_
namespace ntimpl {
namespace nt {
/* A sequence number per RFC 1982 */
class SequenceNumber {
@@ -57,6 +57,6 @@ inline bool operator!=(const SequenceNumber& lhs, const SequenceNumber& rhs) {
return lhs.m_value != rhs.m_value;
}
} // namespace ntimpl
} // namespace nt
#endif // NT_SEQNUM_H_