diff options
author | Damien Zammit <damien@zamaudio.com> | 2019-06-24 22:54:45 +1000 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2019-06-24 22:54:45 +1000 |
commit | a3f8449595601d589d50a61fad670aa8fec38f51 (patch) | |
tree | 6be8b221109edb57d78172dce24659c667800fb3 /libs/ptformat/ptformat/ptformat.h | |
parent | 0a62d70a4300c2205c7861f1a351ee41fd99d8bb (diff) |
Update to upstream ptformat 777686b (remove strndup && cleanup)
Diffstat (limited to 'libs/ptformat/ptformat/ptformat.h')
-rw-r--r-- | libs/ptformat/ptformat/ptformat.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libs/ptformat/ptformat/ptformat.h b/libs/ptformat/ptformat/ptformat.h index 43b4dc1fbe..3426d7e05b 100644 --- a/libs/ptformat/ptformat/ptformat.h +++ b/libs/ptformat/ptformat/ptformat.h @@ -252,13 +252,8 @@ private: bool jumpto(uint32_t *currpos, unsigned char *buf, const uint32_t maxoffset, const unsigned char *needle, const uint32_t needlelen); bool foundin(std::string const& haystack, std::string const& needle); int64_t foundat(unsigned char *haystack, uint64_t n, const char *needle); - uint16_t u_endian_read2(unsigned char *buf, bool); - uint32_t u_endian_read3(unsigned char *buf, bool); - uint32_t u_endian_read4(unsigned char *buf, bool); - uint64_t u_endian_read5(unsigned char *buf, bool); - uint64_t u_endian_read8(unsigned char *buf, bool); - char *parsestring(uint32_t pos); + std::string parsestring(uint32_t pos); const std::string get_content_description(uint16_t ctype); int parse(void); void parseblocks(void); |