From 6f96fe19849fcdc62fef4213460ba0b80cbc1f29 Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Fri, 28 Sep 2018 23:33:12 +1000 Subject: libptformat: Add ability to reuse object && add path to ptf to api --- libs/ptformat/ptfformat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libs/ptformat/ptfformat.h') diff --git a/libs/ptformat/ptfformat.h b/libs/ptformat/ptfformat.h index 189fc0fef2..933d2be56e 100644 --- a/libs/ptformat/ptfformat.h +++ b/libs/ptformat/ptfformat.h @@ -147,7 +147,7 @@ public: int64_t targetrate; uint8_t version; uint8_t *product; - + std::string path; unsigned char c0; unsigned char c1; @@ -163,6 +163,7 @@ private: bool parse_version(); uint8_t gen_xor_delta(uint8_t xor_value, uint8_t mul, bool negative); void setrates(void); + void cleanup(void); void parse5header(void); void parse7header(void); void parse8header(void); -- cgit v1.2.3