summaryrefslogtreecommitdiff
path: root/libs/ptformat/ptformat/ptformat.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ptformat/ptformat/ptformat.h')
-rw-r--r--libs/ptformat/ptformat/ptformat.h7
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);