summaryrefslogtreecommitdiff
path: root/indra/llmessage/lltemplatemessagereader.h
diff options
context:
space:
mode:
authormobserveur <mobserveur@gmail.com>2024-07-23 03:06:59 +0200
committermobserveur <mobserveur@gmail.com>2024-07-23 03:06:59 +0200
commit17e9bcbf628aa5bda84a36fc7daa9c6041e1bada (patch)
treeb3002ee1f89bd9d97513de29f9cfe566932d6e97 /indra/llmessage/lltemplatemessagereader.h
parent7bb6ea9103228b3bf3b28792d8d73e8616471908 (diff)
Legacy search floater
This commit adds the legacy search floater to megapahit
Diffstat (limited to 'indra/llmessage/lltemplatemessagereader.h')
-rw-r--r--indra/llmessage/lltemplatemessagereader.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/llmessage/lltemplatemessagereader.h b/indra/llmessage/lltemplatemessagereader.h
index 1aa5d2e164..772b8fd607 100644
--- a/indra/llmessage/lltemplatemessagereader.h
+++ b/indra/llmessage/lltemplatemessagereader.h
@@ -99,24 +99,27 @@ public:
virtual void copyToBuilder(LLMessageBuilder&) const;
BOOL validateMessage(const U8* buffer, S32 buffer_size,
- const LLHost& sender, bool trusted = false);
+ const LLHost& sender, bool trusted = false, bool custom = false);
BOOL readMessage(const U8* buffer, const LLHost& sender);
bool isTrusted() const;
bool isBanned(bool trusted_source) const;
bool isUdpBanned() const;
+ BOOL decodeData(const U8* buffer, const LLHost& sender, bool custom = false);
+ LLMessageTemplate* getTemplate();
+
private:
void getData(const char *blockname, const char *varname, void *datap,
S32 size = 0, S32 blocknum = 0, S32 max_size = S32_MAX);
BOOL decodeTemplate(const U8* buffer, S32 buffer_size, // inputs
- LLMessageTemplate** msg_template ); // outputs
+ LLMessageTemplate** msg_template, bool custom = false ); // outputs
void logRanOffEndOfPacket( const LLHost& host, const S32 where, const S32 wanted );
- BOOL decodeData(const U8* buffer, const LLHost& sender );
+ //BOOL decodeData(const U8* buffer, const LLHost& sender );
S32 mReceiveSize;
LLMessageTemplate* mCurrentRMessageTemplate;