Files
Jason Rhinelander fef609db44 Change binary return types to unsigned char/ustring/ustring_view
- `session::ustring` is a typedef to a `std::basic_string<unsigned char>`
- `session::ustring_view` is a typedef to a
  `std::basic_string_view<unsigned char>`
- For the C API, binary types now become `unsigned char*` (and similar)
  instead of `char*`.
2022-12-05 19:18:02 -04:00

19 lines
310 B
C++

#pragma once
#include <cstdint>
#include <string>
#include <string_view>
namespace session {
using ustring = std::basic_string<unsigned char>;
using ustring_view = std::basic_string_view<unsigned char>;
namespace config {
using seqno_t = std::int64_t;
} // namespace config
} // namespace session