From b348085ac9f3d4a7ded81026bffa962a065bdf97 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 19 Jan 2010 13:55:23 +0100 Subject: Eliminate ATT file type - use TXT or BIN Signed-off-by: Denys Vlasenko --- inc/CrashTypes.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'inc') diff --git a/inc/CrashTypes.h b/inc/CrashTypes.h index 77947f6f..ccbdd929 100644 --- a/inc/CrashTypes.h +++ b/inc/CrashTypes.h @@ -4,17 +4,14 @@ #include "abrt_types.h" // SYS - system value, should not be displayed -// BIN - binary value, should be displayed as a path to binary file -// TXT - text value, should be displayed -// ATT - text value which can be sent as attachment via reporters -// TODO: maybe we don't need separate CD_ATT - can simply look at strlen(content) -// in all places which want to handle "long" and "short" texts differently +// BIN - binary data +// TXT - text data, can be displayed #define CD_SYS "s" #define CD_BIN "b" #define CD_TXT "t" -#define CD_ATT "a" -#define CD_ATT_SIZE (256) +/* Text bigger than this usually is attached, not added inline */ +#define CD_TEXT_ATT_SIZE (2*1024) #define CD_ISEDITABLE "y" #define CD_ISNOTEDITABLE "n" -- cgit