Telnet++  3.1.0.2
A C++ library for interacting with Telnet streams
stream.hpp
1 #pragma once
2 
3 #include "telnetpp/core.hpp"
4 #include "telnetpp/options/new_environ/detail/protocol.hpp"
5 #include "telnetpp/options/new_environ/protocol.hpp"
6 
7 namespace telnetpp::options::new_environ::detail {
8 
9 //* =========================================================================
11 //* =========================================================================
12 TELNETPP_EXPORT
13 void append_escaped(telnetpp::byte_storage &storage, telnetpp::bytes content);
14 
15 //* =========================================================================
17 //* =========================================================================
18 constexpr telnetpp::options::new_environ::variable_type byte_to_type(byte by)
19 {
20  return by == detail::var ? variable_type::var : variable_type::uservar;
21 }
22 
23 } // namespace telnetpp::options::new_environ::detail
variable_type
An enumeration of the type of variables that NEW_ENVIRON handles.
Definition: protocol.hpp:13