Added optional BDebugEventStream::ReadNextEvent() return parameter for the

stream position of the event header.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30504 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2009-04-30 12:24:25 +00:00
parent 22a332f0b0
commit ef0ce69148
2 changed files with 14 additions and 2 deletions
+3 -1
View File
@@ -45,7 +45,8 @@ public:
void Unset();
ssize_t ReadNextEvent(uint32* _event, uint32* _cpu,
const void** _buffer);
const void** _buffer,
off_t* _streamOffset = NULL);
private:
status_t _Init();
@@ -60,6 +61,7 @@ private:
size_t fBufferCapacity;
size_t fBufferSize;
size_t fBufferPosition;
off_t fStreamPosition;
bool fOwnsBuffer;
};