aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/show_packet_bytes_dialog.h
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2016-05-19 12:09:33 +0200
committerStig Bjørlykke <stig@bjorlykke.org>2016-05-19 11:18:12 +0000
commit6eae02884368d6c5abb1c336369f7838588a35a4 (patch)
tree01500777dd1c5f361807aa1f730f82daa3766c68 /ui/qt/show_packet_bytes_dialog.h
parenta558178874d4b3ff218010bec4bb1f164ab29995 (diff)
Qt: Add Decode as Quoted-Printable in Show Packet Bytes
Change-Id: I4697b979702e4df83b1ec85b9a3619409c0b366c Reviewed-on: https://code.wireshark.org/review/15500 Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/show_packet_bytes_dialog.h')
-rw-r--r--ui/qt/show_packet_bytes_dialog.h2
1 files changed, 2 insertions, 0 deletions
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();