diff options
Diffstat (limited to 'src/session.hpp')
| -rw-r--r-- | src/session.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/session.hpp b/src/session.hpp index 77687f9..d7bc11c 100644 --- a/src/session.hpp +++ b/src/session.hpp @@ -14,9 +14,14 @@ class CSession { struct SRecvData { std::string data; + const size_t size = 1024; bool good = true; + + bool isEmpty() const; + void sanitize(); }; + std::string getName(); void setSelf(std::pair<std::jthread, std::shared_ptr<CSession>> *self); |
