From 6eae02884368d6c5abb1c336369f7838588a35a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Thu, 19 May 2016 12:09:33 +0200 Subject: Qt: Add Decode as Quoted-Printable in Show Packet Bytes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I4697b979702e4df83b1ec85b9a3619409c0b366c Reviewed-on: https://code.wireshark.org/review/15500 Reviewed-by: Stig Bjørlykke --- ui/qt/show_packet_bytes_dialog.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui/qt/show_packet_bytes_dialog.h') diff --git a/ui/qt/show_packet_bytes_dialog.h b/ui/qt/show_packet_bytes_dialog.h index 906a2d8bb8..c1bb67c584 100644 --- a/ui/qt/show_packet_bytes_dialog.h +++ b/ui/qt/show_packet_bytes_dialog.h @@ -79,6 +79,7 @@ private: DecodeAsNone, DecodeAsBASE64, DecodeAsCompressed, + DecodeAsQuotedPrintable, DecodeAsROT13 }; enum ShowAsType { @@ -101,6 +102,7 @@ private: void updateHintLabel(); void sanitizeBuffer(QByteArray &ba, bool handle_CR); void symbolizeBuffer(QByteArray &ba); + QByteArray decodeQuotedPrintable(const guint8 *bytes, int length); void rot13(QByteArray &ba); void updateFieldBytes(bool initialization = false); void updatePacketBytes(); -- cgit v1.2.1