diff options
Diffstat (limited to 'server/src/transactionparser.h')
-rw-r--r-- | server/src/transactionparser.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/transactionparser.h b/server/src/transactionparser.h index 3f477c9..1f7d23f 100644 --- a/server/src/transactionparser.h +++ b/server/src/transactionparser.h @@ -43,10 +43,14 @@ public: bool parse(std::string data); + unsigned int usedBytes(); + protected: int readData(char *data, size_t size); private: + unsigned int bufferbytes; + unsigned int totalbytes; Transaction *transaction; bool done; }; |