Got unlazy and made message logging using safe pointer, using vectors
This commit is contained in:
@@ -17,12 +17,13 @@ public:
|
||||
HTTP_RESPONSE
|
||||
};
|
||||
LLMessageLogEntry(EType type, LLHost from_host, LLHost to_host, U8* data, S32 data_size);
|
||||
LLMessageLogEntry(EType type, LLHost from_host, LLHost to_host, std::vector<U8> data, S32 data_size);
|
||||
~LLMessageLogEntry();
|
||||
EType mType;
|
||||
LLHost mFromHost;
|
||||
LLHost mToHost;
|
||||
S32 mDataSize;
|
||||
U8* mData;
|
||||
std::vector<U8> mData;
|
||||
};
|
||||
class LLMessageLog
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user